Skip to content

Commit

Permalink
feat(less): updated default compiler to @bazel/less as mentioned in c…
Browse files Browse the repository at this point in the history
…ode review
  • Loading branch information
joshvanallen authored and alexeagle committed Aug 17, 2019
1 parent 6027aa3 commit fd71f26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@
"format": "git-clang-format",
"format-all": "clang-format --glob='{internal/**/,examples/**/}*.{js,ts}' -i",
"skydoc": "bazel build //docs && cp -f dist/bin/docs/*.md docs",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && node ./scripts/on-version.js && bazel build //:release && node ./scripts/on-release.js && git stage defs.bzl packages/create/index.js README.md CHANGELOG.md",
"clean":"bazel clean"
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && node ./scripts/on-version.js && bazel build //:release && node ./scripts/on-release.js && git stage defs.bzl packages/create/index.js README.md CHANGELOG.md"
},
"husky": {
"hooks": {
Expand Down
4 changes: 2 additions & 2 deletions packages/less/src/index.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ less_binary = rule(
"compiler": attr.label(
doc = """Label that points to the lessc binary to run.
If you install your npm packages to a workspace named something other than "npm",
you may need to set this to `@my_npm_name//less/bin:lessc`""",
default = Label("@npm//less/bin:lessc"),
you may need to set this to `@my_npm_name//@bazel/less/bin:less`""",
default = Label("@npm//@bazel/less/bin:less"),
cfg = "host",
executable = True,
),
Expand Down

0 comments on commit fd71f26

Please sign in to comment.