Open robin-pham opened 1 year ago
I think the resolution is just to help people discover those two flags if they don't mean to include those files in the package?
Yep! Also I was told to make an issue just to keep track as this will be fixed in the next version of rules_js
What happened?
For targets with a lot of upstream dependencies,
npm_package
becomes very slow, where a "Copying files to directory" step could take upwards of 30s even if the total amount of files being copied over was just in the dozens.Workaround
Anyone encountering this in the future, the following settings for
npm_package
resolved this issue:Version
Development (host) and target OS/architectures: mac m2
Output of
bazel --version
:Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file:Language(s) and/or frameworks involved:
How to reproduce
Any other information?
No response