Skip to content

Commit c3d3abc

Browse files
authored
fix: tweak intlify/core conditional exports (#1639)
1 parent f854b1f commit c3d3abc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
"exports": {
5555
".": {
5656
"types": "./dist/core.d.ts",
57+
"import": "./dist/core.mjs",
58+
"browser": "./dist/core.esm-browser.js",
5759
"node": {
5860
"import": {
5961
"production": "./dist/core.prod.node.mjs",
@@ -65,9 +67,7 @@
6567
"development": "./dist/core.cjs",
6668
"default": "./index.js"
6769
}
68-
},
69-
"browser": "./dist/core.esm-browser.js",
70-
"import": "./dist/core.mjs"
70+
}
7171
},
7272
"./dist/*": "./dist/*",
7373
"./package.json": "./package.json"

0 commit comments

Comments
 (0)