question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bazel should support less

See original GitHub issue

🚀 Feature request

Command (mark with an x)

- [x] new
- [x] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Description

Angular or Angular CLI should support less loader

Describe the solution you’d like

Angular CLI support ng new with bazel and less loader before @angular/cli@8.0.3 but there is a bug https://github.com/angular/angular/issues/31209

The less option was removed after 8.1.0-rc.0 with https://github.com/angular/angular/pull/31234

Angular CLI should support less when run

ng new --collection=@angular/bazel

Describe alternatives you’ve considered

Angular CLI should support less option with bazel

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
alexeaglecommented, Aug 21, 2019

There is now a Bazel rule for running less: https://bazelbuild.github.io/rules_nodejs/Less.html

You can already add this manually if you --leaveBazelFilesOnDisk and configure a less_binary.

I’ll let @kyliau decide about keeping this issue open for the schematic that generates the default Bazel configuration.

1reaction
marcus-sacommented, Nov 26, 2019

@henning96 I’ll create a separate repository for it instead 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commands and Options | Bazel
When --long is used on a help command, the on-line help messages provide summary ... If specified, Bazel will build only targets that...
Read more >
Best Practices - Bazel
A project should always be able to run bazel build //... and bazel test ... If you want to support per-user options for...
Read more >
Command-Line Reference | Bazel
We expect that it is less likely that these nodes will be needed again. ... The set of supported event kinds include INFO,...
Read more >
FAQ - Bazel
Multi-language support: Bazel supports many languages, and can be extended to support arbitrary programming languages. High-level build language: Projects are ...
Read more >
Configurable Build Attributes - Bazel
This can be used, for example, for a multiplatform library that automatically chooses ... config_setting only supports flags that affect target behavior.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found