Skip to content

Commit c141e84

Browse files
committed
fix integration entries for webpack
1 parent 08fe9d0 commit c141e84

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/integrations/preact/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "htm_preact",
3-
"module": "index.mjs",
3+
"module": "index.module.js",
44
"main": "index.js",
5-
"umd:main": "index.js",
5+
"umd:main": "index.umd.js",
66
"unpkg": "standalone.js",
77
"scripts": {
88
"build": "npm run -s build:main && npm run -s build:standalone && npm run -s build:static",
9-
"build:main": "microbundle index.mjs -o ../../../preact/index.js -f es,umd --external preact,htm --no-sourcemap --target web",
9+
"build:main": "microbundle index.mjs -o ../../../preact/index.js --external preact,htm --no-sourcemap --target web",
1010
"build:static": "cp index.d.ts package.json ../../../preact/",
1111
"build:standalone": "microbundle standalone.mjs -o ../../../preact/standalone.js -f es,umd --no-sourcemap --target web"
1212
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "htm_react",
3-
"module": "index.mjs",
3+
"module": "index.module.js",
44
"main": "index.js",
5-
"umd:main": "index.js",
5+
"umd:main": "index.umd.js",
66
"unpkg": "index.js",
77
"scripts": {
88
"build": "npm run -s build:main && npm run -s build:static",
9-
"build:main": "microbundle index.mjs -o ../../../react/index.js -f es,umd --external react,htm --no-sourcemap --target web",
9+
"build:main": "microbundle index.mjs -o ../../../react/index.js --external react,htm --no-sourcemap --target web",
1010
"build:static": "cp index.d.ts package.json ../../../react/"
1111
}
1212
}

0 commit comments

Comments
 (0)