What happened?
If your webpack config contains entry: {} being set, the rule will not override even if you pass entry_point. You need to pass args --entry-reset and then entry points you care about to do so. This also has the side effect of exposing that args doesn't interpolate and expand format strings. #144 was an attempt to fix this partially, but not a good one.
https://webpack.js.org/api/cli/#entry
Version
Development (host) and target OS/architectures:
Output of bazel --version:
6.4.0
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
Create a webpack config with `entry` set
Set a rule that overrides entry with `entry_point`
Bazel run or build that target and see the entry point is not overridden
Pass `args` to the rule that then sets `--entry-reset --entry=<file>` and see it work
Any other information?
No response
What happened?
If your webpack config contains
entry: {}being set, the rule will not override even if you passentry_point. You need to pass args--entry-resetand then entry points you care about to do so. This also has the side effect of exposing thatargsdoesn't interpolate and expandformatstrings. #144 was an attempt to fix this partially, but not a good one.https://webpack.js.org/api/cli/#entry
Version
Development (host) and target OS/architectures:
Output of
bazel --version:6.4.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACEorMODULE.bazelfile:Language(s) and/or frameworks involved:
How to reproduce
Any other information?
No response