build: update buildifier to latest (#24296)

this matches the version in ngcontainer:0.3.1

PR Close #24296
This commit is contained in:
Alex Eagle
2018-06-04 10:45:27 -07:00
committed by Miško Hevery
parent 0d07d273dc
commit c2b5ebfa24
22 changed files with 68 additions and 67 deletions

View File

@ -27,7 +27,7 @@ ts_devserver(
deps = ["//src"],
)
load("@build_bazel_rules_nodejs//:defs.bzl", "rollup_bundle", "nodejs_binary")
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary", "rollup_bundle")
rollup_bundle(
name = "bundle",

View File

@ -15,7 +15,7 @@ ng_module(
["*.ts"],
exclude = ["*.spec.ts"],
),
assets = [":hello-world-styles.css"],
assets = [":hello-world-styles"],
tsconfig = "//src:tsconfig.json",
# FIXME(alexeagle): the rxjs dep should come from Angular, but if we use the
# npm distro of angular there is no ts_library rule to propagate the dep.

View File

@ -8,7 +8,7 @@ import {Component, NgModule} from '@angular/core';
<input type="text" [value]="name" (input)="name = $event.target.value"/>
`,
// TODO: might be better to point to .scss so this looks valid at design-time
styleUrls: ['./hello-world-styles.css'],
styleUrls: ['./hello-world.component.css'],
})
export class HelloWorldComponent {
name: string = 'world';