Skip to content

Commit

Permalink
fix(#1327): Fixed package.json exports to work with moduleResolution …
Browse files Browse the repository at this point in the history
…"bundle"
  • Loading branch information
lupas committed May 1, 2023
1 parent 837ef8b commit 9f90547
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions packages/vue-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,18 @@
},
"exports": {
".": {
"types": "./dist/vue-i18n.d.ts",
"import": "./dist/vue-i18n.mjs",
"browser": "./dist/vue-i18n.esm-browser.js",
"node": {
"import": {
"production": "./dist/vue-i18n.node.mjs",
"development": "./dist/vue-i18n.mjs",
"default": "./dist/vue-i18n.mjs"
},
"require": {
"production": "./dist/vue-i18n.prod.cjs",
"development": "./dist/vue-i18n.cjs",
"default": "./index.js"
}
"import": {
"types": "./dist/vue-i18n.d.ts",
"node": "./index.mjs",
"default": "./dist/vue-i18n.esm-bundler.js"
},
"require": {
"types": "./dist/vue-i18n.d.cts",
"default": "./index.js"
}
},
"./dist/*": "./dist/*",
"./index.mjs": "./index.mjs",
"./package.json": "./package.json"
},
"funding": "https://github.com/sponsors/kazupon",
Expand Down

0 comments on commit 9f90547

Please sign in to comment.