tree: 0e6f5d870408a674344b76c9525834ff8a67db25 [path history] [tgz]
  1. .bazelignore
  2. .bazelrc
  3. BUILD.bazel
  4. index.html
  5. index.tsx
  6. package.json
  7. README.md
  8. styles.scss
  9. types.d.ts
  10. webpack.config.js
  11. WORKSPACE
  12. yarn.lock
examples/react_webpack/README.md

This example shows how to use Webpack to build and serve a React app with Bazel.

We use the minimal webpack loaders, because Bazel takes care of things like Sass and TypeScript compilation before calling webpack.