Skip to content

Commit 5e7725e

Browse files
committed
feat: remove "type": "commonjs" from package.json to improve webpack bundling
1 parent 54f6874 commit 5e7725e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
# enum-plus Changelog
44

5+
## 2.2.11
6+
7+
2025-5-15
8+
9+
### Features
10+
11+
- 🛠 Remove `"type": "commonjs"` from package.json, which may breaks webpack bundling.
12+
513
## 2.2.10
614

715
2025-5-14

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enum-plus",
3-
"version": "2.2.10",
3+
"version": "2.2.11",
44
"description": "A drop-in replacement for native enum. Like native enum but much better!",
55
"keywords": [
66
"enum",
@@ -22,7 +22,6 @@
2222
"license": "MIT",
2323
"author": "李凤宝(Leo) <shijistar@gmail.com>",
2424
"sideEffects": false,
25-
"type": "commonjs",
2625
"exports": {
2726
".": {
2827
"types": "./lib/index.d.ts",

0 commit comments

Comments
 (0)