blob: 94c92c8db1311df046036fabfc00795a46113bac [file] [view]
# Bazel Webpack plugin
This plugin teaches Bazel how to run Webpack to produce JS bundles.
# TODO
1. Figure out how users should configure webpack.
- Should they pass a webpack.config.js? This lets them run arbitrary code which can mess up the Bazel integration
- Should we add attributes on the webpack_bundle rule?
- In some cases maybe downstream rules configure Webpack, like the scheme for naming chunks