Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(builtin): linker no longer makes node_modules symlink to the root…
… of the workspace output tree BREAKING CHANGE: Any nodejs_binary/nodejs_test processes with the linker enabled (--nobazel_patch_module_resolver is set) that were relying on standard node_module resolution to resolve manfest file paths such as `my_workspace/path/to/output/file.js` must now use the runfiles helper such as. Previously: ``` const absPath = require.resolve('my_workspace/path/to/output/file.js'); ``` With runfiles helper: ``` const runfiles = require(process.env['BAZEL_NODE_RUNFILES_HELPER']); const absPath = runfiles.resolve('my_workspace/path/to/output/file.js'); ```
- Loading branch information