You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Vite build succeeds, even if not all dependencies are provided in the BUILD.bazel file.
Version
Development (host) and target OS/architectures:
Output of bazel --version: bazel 6.0.0rc2
Version of the Aspect rules, or other relevant rules from your WORKSPACE or MODULE.bazel file: rules_js-1.8.0
Language(s) and/or frameworks involved: Javascript, Vite
How to reproduce
A git repo with instructions how to reproduce this bug is available at:
https://github.com/henkerik/repro_rules_js_362
Any other information?
This repo started as a fork of https://github.com/gregmagolan/repro_rules_js_362 because I suspected I ran into the same bug. However, I think this bug is different. It looks like a regular JS import escapes the Bazel sandbox as well:
@gregmagolan I though so at first, that's why I forked your repo :). However, I build node from source with your patch (aspect-forks/node@6616ddd) but this didn't fix it.
What happened?
A Vite build succeeds, even if not all dependencies are provided in the
BUILD.bazel
file.Version
Development (host) and target OS/architectures:
Output of
bazel --version
: bazel 6.0.0rc2Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: rules_js-1.8.0Language(s) and/or frameworks involved: Javascript, Vite
How to reproduce
Any other information?
This repo started as a fork of
https://github.com/gregmagolan/repro_rules_js_362
because I suspected I ran into the same bug. However, I think this bug is different. It looks like a regular JS import escapes the Bazel sandbox as well:https://github.com/henkerik/repro_rules_js_362/blob/main/vite.config.js#L2
Fund our work
The text was updated successfully, but these errors were encountered: