Skip to content

v0.8.0

Choose a tag to compare

@jacob-alford jacob-alford released this 05 Sep 18:30
· 16 commits to main since this release

Summary

Breaking Changes

  • For single entrypoint build, i.e. buildMode.type = "Single" is no longer relative to srcDir, it is relative to rootDir. So if you previously had an entrypoint of ./src/index.ts with a parameter of index.ts that must now be updated to ./src/index.ts.

Patch Changes

  • Build emissions (for multi-entrypoint builds) weren't respected for src-only entrypoints. Previously they would be emitted to ./dist while the types were emitted to ./dist/src which would cause a "no-types" error for node-10. Now, they will be properly emitted to ./dist/src or in other words, preserved.

Support for Node 10

Here are a few things to note:

  • If you are a single-entrypoint library, you will have node-10 support out of the box,
  • if you are a multi-entrypoint library you can augment node-10 support by moving your entrypoints into the root directory and updating the buildMode.entrypointGlobs parameter to reflect this.
  • If you follow the above instructions you will avoid a breaking change for your library and augment node-10 support.

What's Changed

Full Changelog: v0.7.1...v0.8.0