rules_js icon indicating copy to clipboard operation
rules_js copied to clipboard

[Bug]: patch_node_fs = True cause next.js standalone build not properly symlink node modules

Open zfy0701 opened this issue 1 year ago • 5 comments

What happened?

when building with next, node module inside standalone will be symlinks, but the files generated by bazel build will have symlink to some absolute path, make the following packing process very hard, make patch_node_fs = False seems works

Version

Development (host) and target OS/architectures:

Output of bazel --version:

Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file:

Language(s) and/or frameworks involved:

How to reproduce

No response

Any other information?

No response

zfy0701 avatar Apr 30 '23 09:04 zfy0701