Skip to content

Commit ad0eb51

Browse files
fix: commonjs
1 parent 5084f2a commit ad0eb51

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Changelog
22

3+
[0.4.5]
4+
- Fix: commonjs
5+
36
[0.4.4]
47
- Fix: types
58

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Make the vue script setup syntax support the name attribute
66

77
## CHANGELOG
88

9+
[0.4.5]
10+
- Fix: commonjs
11+
912
[0.4.4]
1013
- Fix: types
1114

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "unplugin-vue-setup-extend-plus",
3+
"type": "module",
34
"version": "0.4.4",
45
"packageManager": "[email protected]",
56
"description": "Extending the vue script setup syntactic sugar",
@@ -22,8 +23,8 @@
2223
"type": "git",
2324
"url": "git+https://github.com/chenxch/unplugin-vue-setup-extend-plus.git"
2425
},
25-
"main": "dist/index.js",
26-
"module": "dist/index.mjs",
26+
"main": "dist/index.cjs",
27+
"module": "dist/index.js",
2728
"types": "dist/index.d.ts",
2829
"exports": {
2930
".": {
@@ -75,6 +76,7 @@
7576
"dev": "tsup --watch src",
7677
"lint": "eslint .",
7778
"play": "npm -C playground run dev",
79+
"prepublishOnly": "npm run build",
7880
"release": "bumpp --commit --push --tag && pnpm publish --registry=https://registry.npmjs.org/",
7981
"start": "esno src/index.ts",
8082
"test": "vitest"

0 commit comments

Comments
 (0)