Skip to content

Commit 1e91a74

Browse files
authored
Merge pull request #205 from sibbng/patch-1
Reorder exports
2 parents 12af51c + 7f0d813 commit 1e91a74

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,36 @@
88
"types": "dist/htm.d.ts",
99
"exports": {
1010
".": {
11-
"import": "./dist/htm.mjs",
12-
"require": "./dist/htm.js",
1311
"browser": "./dist/htm.module.js",
14-
"umd": "./dist/htm.umd.js"
12+
"umd": "./dist/htm.umd.js",
13+
"import": "./dist/htm.mjs",
14+
"require": "./dist/htm.js"
1515
},
1616
"./": "./",
1717
"./preact": {
18-
"import": "./preact/index.mjs",
19-
"require": "./preact/index.js",
2018
"browser": "./preact/index.module.js",
21-
"umd": "./preact/index.umd.js"
19+
"umd": "./preact/index.umd.js",
20+
"import": "./preact/index.mjs",
21+
"require": "./preact/index.js"
2222
},
2323
"./preact/standalone": {
24-
"import": "./preact/standalone.mjs",
25-
"require": "./preact/standalone.js",
2624
"browser": "./preact/standalone.module.js",
27-
"umd": "./preact/standalone.umd.js"
25+
"umd": "./preact/standalone.umd.js",
26+
"import": "./preact/standalone.mjs",
27+
"require": "./preact/standalone.js"
2828
},
2929
"./react": {
30-
"import": "./react/index.mjs",
31-
"require": "./react/index.js",
3230
"browser": "./react/index.module.js",
33-
"umd": "./react/index.umd.js"
31+
"umd": "./react/index.umd.js",
32+
"import": "./react/index.mjs",
33+
"require": "./react/index.js"
3434
},
3535
"./mini": {
36-
"import": "./mini/index.mjs",
37-
"require": "./mini/index.js",
3836
"browser": "./mini/index.module.js",
39-
"umd": "./mini/index.umd.js"
40-
},
41-
"./": "./"
37+
"umd": "./mini/index.umd.js",
38+
"import": "./mini/index.mjs",
39+
"require": "./mini/index.js"
40+
}
4241
},
4342
"scripts": {
4443
"build": "npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias",

0 commit comments

Comments
 (0)