You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update/modernize the Bazel build tooling. (google#474)
This includes:
- Adding a .bazelignore so building `...` doesn't try to build the node_modules directory.
- Removing a bazelrc flag that no longer exists and isn't needed anymore.
- Switching to a modern rollup_bundle implementation. This requires:
- Adding a config file to set the global name and license banner.
- Generating output formats separately, since it no longer generates all of them.
- Using the Rollup Buble plugin to downlevel (transpile) to ES5.
- Switching npm_package to the modern pkg_npm.
- This cleans up some "replacements" (formerly called "substitutions")
- Switching from `bazel` to `bazelisk` as `bazel` is now [deprecated](https://www.npmjs.com/package/@bazel/bazel) for this use case.
- Upgrading to rules_nodejs version 4.6.0.
- Switching `ts_web_test` to the modern `karma_web_test` (which is in the `@bazel/concatjs` package).
The JS output is roughly the same. There are some small changes related to variable renaming and optimizations that shouldn't affect runtime behavior. The main difference is that the const `DEBUG` replacements now work (before the `DEBUG` const got inlined before the replacement step).
0 commit comments