rules_node
rules_node copied to clipboard
Node rules for Bazel (unsupported)
Fiddle
In addition if you are outputting the generated files into a folder that looks like the npm package name then omit the prefix part to simplify importing in bazel. For...
This would follow similar tools like gazelle and bazel_deps and make projects that use this and other languages more consistent.
I'm not that experienced with bazel but I feel like it would be fitting for the generated BUILD/shrikwrap files to exist in the `third_party` dir of a bazel project. Unfortunately...
``` File "c:\users\rwatts\appdata\local\temp\Bazel.runfiles_s8dqke\runfiles\org_dropbox_rules_node\node\tools\npm\runfiles.py", line 18, in _get_runfiles_dir raise RunfilesError('Must be run in Bazel environment') node.tools.npm.runfiles.RunfilesError: Must be run in Bazel environment Target //:bundle failed to build Use --verbose_failures to see...
I am trying to put together a simple `express` example to try these out (since I've been able to get further with them than `bazelbuild/rules_nodejs`), and I'm running into an...
Hi there, I was curious about this note in the README about webpack_build: > Making the experience of using webpack better within Dropbox was one of the reasons we wrote...
Fixes livegrep/livegrep#136 -- or I believe it should.
`npm_library` should fetch dependencies during `WORKSPACE` instantiation. These "repository rules" can have variable outputs, which avoid the need to declare all of the constituent elements as you have here: https://github.com/dropbox/rules_node/blob/master/examples/npm/ts-loader/BUILD#L7-L23.
Hi @samertm , I'm on the Angular team and also have written nodejs rules. Currently they are part of the TypeScript rules but I would like to make a canonical...