tree: 65a639d1d3e54708b4567d98fa307fc9c36806d4 [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. tsconfig.json
  10. types.d.ts
  11. webpack.config.js
  12. WORKSPACE
  13. 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.