Zero config bundler for ECMAScript and TypeScript packages
Bot releases are visible (Hide)
Published by huozhi 7 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v5.0.0-beta.5...v5.0.0-beta.6
Published by huozhi 7 months ago
tsx
with swc by @SukkaW in https://github.com/huozhi/bunchee/pull/487
Full Changelog: https://github.com/huozhi/bunchee/compare/v5.0.0-beta.4...v5.0.0-beta.5
Published by huozhi 7 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v5.0.0-beta.3...v5.0.0-beta.4
Published by huozhi 7 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v5.0.0-beta.2...v5.0.0-beta.3
Published by huozhi 7 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v5.0.0-beta.1...v5.0.0-beta.2
Published by huozhi 8 months ago
no-dts
option by @hyoban in https://github.com/huozhi/bunchee/pull/458
.prettierignore
to not ignore current test directories by @devjiwonchoi in https://github.com/huozhi/bunchee/pull/456
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.8...v5.0.0-beta.1
Published by huozhi 8 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.7...v4.4.8
Published by huozhi 8 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.6...v4.4.7
Published by huozhi 8 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.5...v4.4.6
Published by huozhi 9 months ago
Drop the @rollup/plugin-esm-shim
plugin and rewrite one with AST parsing, this avoids lots of issues that with current rollup esm shim plugin.
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.4...v4.4.5
Published by huozhi 9 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.3...v4.4.4
Published by huozhi 9 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.2...v4.4.3
Published by huozhi 9 months ago
This release fixes some important issues when users are suffering with ts module resolving with multiple exports when modules resolution set to "node". Previously we're doing import like <pkg>/<module>
that supports "bundler" module resolution for ts types.
Now we're changing to relative imports which will import the correct path for both CJS and ESM.
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.1...v4.4.2
Published by huozhi 9 months ago
Improve the stablility of the features we have in 4.4
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.4.0...v4.4.1
Published by huozhi 9 months ago
Hello, a beautiful weekend with few amazing contributions from community! We shipped a load of DX improvments this time for y'all and also few bug fixes!
⚠️ Cannot export `require` field with .js or .mjs extension in ESM package, only .cjs extensions are allowed
⚠️ ./dist/index.js
⚠️ Cannot export `import` field with .cjs extension in ESM package, only .js and .mjs extensions are allowed
⚠️ ./dist/foo.cjs
If you dont want to auto clean build bundles, just use --no-clean
option
bunchee --no-clean # clean is by default
development
and production
export conditionssrc/index.js
can be injected with NODE_ENV
based on the export conditon when using development
or production
{
"exports": {
"development": "./dist/index.development.js",
"production": "./dist/index.production.js",
}
}
process.env.NODE_ENV
tsconfig.json
for you in build if you don't have anyFull Changelog: https://github.com/huozhi/bunchee/compare/v4.3.4...v4.4.0
Published by huozhi 9 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.3.3...v4.3.4
Published by huozhi 9 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.3.2...v4.3.3
Published by huozhi 9 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.3.1...v4.3.2
Published by huozhi 10 months ago
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.3.0...v4.3.1
Published by huozhi 10 months ago
😮 Are you struggling with configuring exports
field in package.json
? Don't want to think about CJS/ESM?
Now you can auto configuration for new JS project with CJS/ESM compatible exports with one command 😮
Enter your project with grouping entry files in the src/
folder, each entry file will be turned into an export in package.json.
- src/
| - index.ts
| - core.ts
🥳 Then just run prepare command, all done!
bunchee --prepare
🧠 Auto configure CJS/ESM exports command
💅 Prettier output
Full Changelog: https://github.com/huozhi/bunchee/compare/v4.2.11...v4.3.0