tree: e0f9e3ae2d4ce58b458a66ec4ee4eae4b91539af [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.