Skip to content

Commit 81214d7

Browse files
committed
feat: move to ESM first
1 parent ce7d24a commit 81214d7

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ etc
99
dist
1010
temp
1111
.eslintcache
12+
.idea/

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "@intlify/vue-i18n-extensions",
3-
"description": "vue-i18n extensions",
3+
"type": "module",
44
"version": "7.0.0",
5+
"description": "vue-i18n extensions",
56
"author": {
67
"name": "kazuya kawaguchi",
78
"email": "[email protected]"
@@ -77,24 +78,23 @@
7778
"optional": true
7879
}
7980
},
80-
"files": [
81-
"dist/idnex.cjs",
82-
"dist/index.mjs",
83-
"dist/index.d.ts",
84-
"dist/index.d.mts",
85-
"dist/index.d.cts"
86-
],
87-
"main": "dist/index.cjs",
88-
"module": "dist/index.mjs",
89-
"types": "dist/index.d.ts",
9081
"exports": {
9182
".": {
92-
"types": "./dist/index.d.ts",
9383
"import": "./dist/index.mjs",
9484
"require": "./dist/index.cjs"
9585
},
9686
"./package.json": "./package.json"
9787
},
88+
"main": "dist/index.cjs",
89+
"module": "dist/index.mjs",
90+
"types": "dist/index.d.ts",
91+
"files": [
92+
"dist/index.cjs",
93+
"dist/index.mjs",
94+
"dist/index.d.ts",
95+
"dist/index.d.mts",
96+
"dist/index.d.cts"
97+
],
9898
"repository": {
9999
"type": "git",
100100
"url": "git+https://github.com/intlify/vue-i18n-extensions.git"

0 commit comments

Comments
 (0)