rules_nodejs
rules_nodejs copied to clipboard
Add example using JavaScript
🚀 feature request
Relevant Rules
All/any
Description
All of the examples/
are typescript as far as I can tell
Describe the solution you'd like
I would appreciate an example using JavaScript only, as I will not be using typescript at all.
Describe alternatives you've considered
I have searched for many examples, but none of them actually work when I try to use them.
For example, even the create-react-app example here does not work for me unless I yarn add --dev @bazel/ibazel
to it.
I have a very simple app that uses yarn to install one library. It then runs index.js
. It doesn't have any transpilation. Using these examples, I can't see how to come up with a simple, understandable setup. I am new to bazel, but I have python working already.
What would you like this example to do? JS example for web, node?
Not sure why cra requires the install of ibazel
again, it's listed as a devDependency
https://github.com/bazelbuild/rules_nodejs/blob/stable/examples/create-react-app/package.json#L21
This issue has been automatically marked as stale because it has not had any activity for 6 months. It will be closed if no further activity occurs in 30 days. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs!
This issue was automatically closed because it went 30 days without any activity since it was labeled "Can Close?"