Releases: favware/esbuild-plugin-file-path-extensions
Releases · favware/esbuild-plugin-file-path-extensions
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.0
2.0.0 - (2023-12-03)
🏠 Refactor
- Make package itself a module and correct paths (a146182)
🐛 Bug Fixes
- Filter on whether esbuild is processing import-statement kinds (f2fe6d1)
- Add jsx,cjsx,mjsx,tsx,ctsx,mtsx to known extensions that should not be replaced (d2dc93f)
- Set correct export mapping in package.json (6195a4c)
- Properly default cjs to .cjs as extension (1aa389a)
- 💥 BREAKING CHANGE: Though previously already intended for cjs to get
.cjs
as file extension, that was never actually properly applied. Because the
CommonJS extension will from this version forward actually properly be
.cjs
I am releasing this a breaking change in case anyone
expected it to be.js
. If you want to upgrade and retain.js
pass
{ cjsExtension: 'js' }
as options to this plugin.
- 💥 BREAKING CHANGE: Though previously already intended for cjs to get