tree: a99b435e863ca6c5d541563355761f90adc2bd12
  1. src/
  2. test/
  3. BUILD.bazel
  4. index.bzl
  5. README.md
packages/labs/webpack/README.md

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