All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
⚠️ Upgrade to rollup v4 (#327)- Support disabling
preserveDynamicImports
(#322) - rollup:
⚠️ Default toesnext
build target (#335)
- Don't clean root directory if set as
outDir
(#343)
- Use
jiti.import
for esm stubs and improve templates (#300)
- Update jsdocs for
inferEntries
(#310)
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
- Anthony Fu anthonyfu117@hotmail.com
- Brendon Matos brendonferreiradm@gmail.com
- Estéban (@Barbapapazes)
- 翠 / Green green@sapphi.red
- Use conventional commit for autofix (#294)
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
- Generate
.d.mts
and.d.cts
declarations (#273) - Support multiple build configs (#275)
- Support nested subpaths (#280)
- Allow customizing jiti options for stub entries (#282)
- Support aliases for stub mode (#283)
- Migrate to
unjs/citty
(#284) - cli: Support
--minify
(#285) - Sourcemap support (#286)
- Respect directory separator when matching entries (#214)
- esbuild: Typo in
sourcemap
option (#259) - Remove extensions from default output name (#279)
- rollup: Check module id against externals as well (#270)
- esbuild: Apply minify with corresponding loader (#254)
- esbuild: Do not minify declarations (83b3ed2)
- mkdist: Allow passing all possible options (f40a889)
- Clean dist directories only once for multi builds (11c47c8)
- auto: Avoid warning for existing files (#287)
- rollup:
⚠️ Improve esbuild options handling (#278)
⚠️ Make typescript a peer dependency (f31c6a4)
- release: V1.2.1 (968612b)
- Update badges (#260)
- Update all non major dependencies (9518aa8)
- Update dev dependencies (a446556)
- Lint code (87e5035)
- Fix lint issue (b711242)
- Lint code (6ac2e9f)
- Add autofix ci (075b7ad)
- Format with prettier v3 (40ec1d9)
- Update mkdist (1234f75)
- Enable declaration for min + sourcemap fixture (7dcda3f)
- Pooya Parsa (@pi0)
- Sukka isukkaw@gmail.com
- Wang Zhi (@yfwz100)
- Patryk Tomczyk
- JounQin (@JounQin)
- ZHAO Jin-Xiang xiaoxiangmoe@gmail.com
- LitoMore
- 科科 bernankez@qq.com
- Update to consola v3 (3bb25b2)
- Pooya Parsa (@pi0)
- rollup: Add
jsx
andtsx
to esbuild loader defaults (#198) - rollup: Allow regular expressions in
externals
array (#145) - mkdist: Add new
pattern
option (#139) - Support esbuild
charset
option (#190) - rollup: Allow passing any all common esbuild options (8e81e2a)
- rollup: Show size of bundled npm packages in cli output (#243)
- Pass missing esbuild jsx factory options (#224)
- rollup: Handle array format for
rollup.alias.entries
option (#220) - rollup: Enable
interop: compat
for cjs compatibility (#215)
- Pooya Parsa (@pi0)
- Kid
- Ntnyq (@ntnyq)
- Marco Solazzi marco.solazzi@gmail.com
- Zoeyzhao19
- Dunqing (@Dunqing)
- XLor yjl9903@onekuma.cn
- Update dependencies (87bea65)
- Pooya Parsa pooya@pi0.io
- Use fs instead of rimraf (bbd374d)
- Pooya Parsa pooya@pi0.io
- Update all rollup dependencies (3d1b976)
- Prevent minification of
.d.ts
files (#185)
- Format with prettier (818ced7)
- Pooya Parsa pooya@pi0.io
- Marco Solazzi marco.solazzi@gmail.com
- Do not throw error on absolute windows paths (#166)
- Remove unused dependency (79cc03d)
- Pooya Parsa pooya@pi0.io
- Daniel Roe daniel@roe.dev
1.0.1 (2022-11-16)
1.0.0 (2022-11-16)
0.8.9 (2022-08-18)
- rollup: remove wrong context (67d1d38)
0.8.8 (2022-08-11)
- rollup: seperate dynamic chunks from shared chunk names (aaf8227)
0.8.7 (2022-08-10)
- include all files for total size report (7bce76d)
0.8.6 (2022-08-10)
0.8.5 (2022-08-10)
- rollup: unmark chunk names as external imports (59debad)
0.8.4 (2022-08-10)
- rollup: handle stubbing multiple exports (f215525)
0.8.3 (2022-08-10)
- rollup: escape stub import paths (63a3c11)
- rollup: fix stub type hints (38d95be)
- rollup: normalize stub entry path (f7272e0)
0.8.2 (2022-08-10)
- rollup: fix stub export resolution issues (63961e4)
0.8.1 (2022-08-10)
- update mlly (26bc33c)
0.8.0 (2022-08-10)
- always enable
esmResolve
forjiti
(stub and config) - exit with code (1) on build warnings (#98)
- always enable
esmResolve
forjiti
(stub and config) (b87c8df) - exit with code (1) on build warnings (#98) (ffc0d7c)
- rollup: generated named exports in esm stub (c9fce24)
0.7.6 (2022-07-20)
0.7.5 (2022-07-20)
- pkg: add types field for exports (#89) (457f043)
- properly calculate bytes of output size (#82) (1888978)
0.7.4 (2022-04-13)
- deps: update mlly (c935845)
0.7.3 (2022-04-12)
- resolve asbolute path to jiti for pnpm support (#58) (81d6da7)
- stub: use
file://
protocol for windows compatibility (12a99c1) - work around issue building with pnpm (#57) (eb7da84)
0.7.2 (2022-03-25)
- revert builtins from default externals (0b808c6)
0.7.1 (2022-03-25)
- add
builtins
andnode:
prefixes to externals (2af233d)
0.7.0 (2022-03-09)
- update all dependencies
0.6.9 (2022-01-27)
0.6.8 (2022-01-21)
0.6.7 (2021-12-14)
- rollup: replace and per-plugin configuration (6d185b2)
0.6.6 (2021-12-14)
- update mkdist (46272a1)
0.6.5 (2021-12-14)
- fix nested config types to be optional (d48e0ac)
0.6.4 (2021-12-14)
- auto config preset (#30) (fe1ac94)
- resolve tsx and jsx files (#31) (03d7056)
- support alias and esbuild config (#29) (b0b09e0)
- validate build outputs against
package.json
(#33) (c9ce0b0)
0.6.3 (2021-12-03)
0.6.2 (2021-12-03)
0.6.1 (2021-12-03)
- allow programmatic inputConfig (9493837)
hooks
type in config should be partial (62fd953)- register programmatic hooks (867ebc5)
- resolve outDir relative to rootDir (ba18055)
- show error if code is not
MODULE_NOT_FOUND
(82d9432) - use tryRequire for package.json (31ab840)
0.6.0 (2021-12-03)
- extract rollup specific global options
mkdist:
hooks (46f8b96)rollup:
hooks (43cb0da)- auto external peerDeps (#25) (f629d74)
- basic preset support (1c0f772)
- support
build:before
andbuild:after
hooks (c834e56) - support
unbuild
key frompackage.json
(ee16f56) - untyped hooks (e5ddb8e)
-
extract rollup specific global options (0dfb39f)
0.5.13 (2021-11-18)
- upgrade to untyped 0.3.x (a7f50b8)
0.5.12 (2021-11-18)
- raw import support (0af3032)
0.5.11 (2021-10-22)
- allow cjs for ext in types (e878d1d)
0.5.10 (2021-10-21)
- rollup: use cjs compatible json exports (06d7b9d), closes nuxt/framework#1335
0.5.9 (2021-10-21)
- use json plugin to allow treeshaking (562e4d1)
0.5.8 (2021-10-20)
0.5.7 (2021-10-13)
0.5.6 (2021-10-01)
- cjsBridge and emitCJS (74a64c1)
0.5.5 (2021-09-29)
- rollup: don't ignore built-in requires to transform into import (00c6b21)
0.5.4 (2021-09-21)
0.5.3 (2021-09-21)
- enable back interopDefault for esm stub for now (079bb51)
0.5.2 (2021-09-21)
- avoid interopDefault for esm stub (6a36080)
0.5.1 (2021-09-21)
- rollup: add
interopDefault
for jiti stub (b1bf926)
0.5.0 (2021-09-20)
- use
.cjs
extension
- use
.cjs
extension (a1c8c0f)
- pkg: use explicit .cjs extension (909a539)
- rollup: stub esm with jiti for typescript support (6bab21f)
0.4.2 (2021-08-09)
- stub: use junction links for windows support (56aaf4b)
0.4.1 (2021-07-29)
0.4.0 (2021-07-22)
0.3.2 (2021-07-08)
0.3.1 (2021-06-16)
- change esbuild target to es2019 (a91ec26)
0.3.0 (2021-05-24)
-
update dependencies
-
update dependencies (293dd7f)
0.2.3 (2021-04-23)
- pass ext option to mkdist (2c9a513)
0.2.2 (2021-04-21)
- mkdist: rmdir before stubbing (1ca50a4)
0.2.1 (2021-04-21)
- avoid duplicate name in dist (cbc8f55)
0.2.0 (2021-04-21)
- support per-entry outDir
- support per-entry outDir (5bb7ac3)
- enable declarations and export defineBuildConfig (0e7d62b)
0.1.13 (2021-04-16)
- rollup config fixes (inline related) (ae8a3d3)
0.1.12 (2021-04-09)
- inlineDependencies option (9f320a1)
0.1.11 (2021-04-09)
- declaration option to generate types (936478a)
0.1.10 (2021-04-09)
- exclude package itself from externals (617a9f9)
0.1.9 (2021-04-09)
- pkg: move typescript to dependencies (51cd53b)
0.1.8 (2021-04-09)
- rollup: set respectExternal option for dts (a596fa3)
0.1.7 (2021-04-09)
- pkg: directly add typescript dependency for standalone usage (adeda2f)
0.1.6 (2021-04-09)
- pkg: specify peerDependencies (71e8994)
0.1.5 (2021-04-09)
- ensure parent dir for link (87e75b3)
0.1.4 (2021-04-09)
- use mkdirp (c54e393)
0.1.3 (2021-04-09)
- update deps and use interopDefault (6b0f39a)