Skip to content

Commit e46f27a

Browse files
committed
chore(release): release 2.0.0
1 parent ad069d4 commit e46f27a

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
# [2.0.0](https://github.com/favware/esbuild-plugin-file-path-extensions/compare/v2.0.0...v2.0.0) - (2023-12-03)
6+
7+
## 🏠 Refactor
8+
9+
- Make package itself a module and correct paths ([a146182](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/a146182f9c0901dfdf1855f7e70b282dcc28e4e5))
10+
11+
## 🐛 Bug Fixes
12+
13+
- Filter on whether esbuild is processing import-statement kinds ([f2fe6d1](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/f2fe6d1d6e43be95ad92ff5cf0a849ae25fc123b))
14+
- Add jsx,cjsx,mjsx,tsx,ctsx,mtsx to known extensions that should not be replaced ([d2dc93f](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/d2dc93f1db8aeed2db15e6784274ec07c9a3026e))
15+
- Set correct export mapping in package.json ([6195a4c](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/6195a4cc00da986520cec2dfbd8e5d21f65d30a5))
16+
- Properly default cjs to .cjs as extension ([1aa389a](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/1aa389aebe5009b1c62ce7847d67991d78cb418a))
17+
- 💥 **BREAKING CHANGE:** Though previously already intended for cjs to get `.cjs`
18+
as file extension, that was never actually properly applied. Because the
19+
CommonJS extension will from this version forward actually properly be
20+
`.cjs` I am releasing this a breaking change in case anyone
21+
expected it to be `.js`. If you want to upgrade and retain `.js` pass
22+
`{ cjsExtension: 'js' }` as options to this plugin.
23+
24+
## 🧪 Testing
25+
26+
- Update snapshots ([ad069d4](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/ad069d4b5b3b78b5141b0d2c62a5c64d8929f5b9))
27+
- Update test snapshots ([1115918](https://github.com/favware/esbuild-plugin-file-path-extensions/commit/1115918c764a5cd0cd7275b4ec9f9f276da6e44f))
28+
529
# [1.0.0](https://github.com/favware/esbuild-plugin-file-path-extensions/tree/v1.0.0) - (2022-10-16)
630

731
## 📝 Documentation

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-plugin-file-path-extensions",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "An esbuild plugin to automatically insert file extensions in your built JavaScript files based on the specified target",
55
"main": "dist/index.cjs",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)