Skip to content

0.27.0

Compare
Choose a tag to compare
@alexeagle alexeagle released this 07 Mar 20:04
  • yarn default is now 1.13.0

@bazel/typescript

  • Fix docs formatting issues and include some missing attributes (switched from Skydoc to Stardoc)

rollup_bundle

  • Update to latest rollup, including support for tree-shaking @__PURE__ code
  • Include the rollup-plugin-commonjs so that commonjs-format modules can be bundled
  • Update from uglify to terser, the currently supported JS minifier, which handles ES2015 inputs
  • The es2015 output is now using native ES modules, so no runtime loader is required (system.js). Note that rollup has a new polyfill, s.js which is not demonstrated here yet.
  • Output chunk directories renamed from *.cs to *_chunks and from .es6 to _es2015 (BREAKING if you depended on the names)

To use this release, update your WORKSPACE to:

http_archive(
    name = "build_bazel_rules_nodejs",
    urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.27.0/rules_nodejs-0.27.0.tar.gz"],
    sha256 = "b1c8d0aeb55aced7b56c3c2a661b3df8210ac81368c39f6287052ee430450fe6",
)

and update your @bazel/typescript, @bazel/karma, and @bazel/jasmine dependencies to 0.27.0