bazelbuild / examples

Examples for Bazel
http://bazel.build
Apache License 2.0
800 stars 497 forks source link

Add react webpack example #369

Closed Mivr closed 7 months ago

Mivr commented 7 months ago

Related to https://github.com/aspect-build/bazel-examples/pull/276 and https://github.com/aspect-build/bazel-examples/issues/83

This PR adds a react JS Webpack example using SWC for transpilation and Webpack for bundling.

google-cla[bot] commented 7 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

alexeagle commented 7 months ago

Looks great, thank you!

FYI I've been working the last couple days to change the existing react example to stop using react-scripts, but I'll switch it to vite/vitest so it will still be nicely orthogonal to this one.