v0.8.0
Summary
Breaking Changes
- For single entrypoint build, i.e.
buildMode.type = "Single"is no longer relative tosrcDir, it is relative torootDir. So if you previously had an entrypoint of./src/index.tswith a parameter ofindex.tsthat 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
./distwhile the types were emitted to./dist/srcwhich would cause a "no-types" error for node-10. Now, they will be properly emitted to./dist/srcor 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.entrypointGlobsparameter 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
- Preserve library structure by @jacob-alford in #14
Full Changelog: v0.7.1...v0.8.0