Skip to content

Commit 066f0f3

Browse files
committed
add mjs copy of standalone build to unbreak unpkg hotlinking
1 parent 753d81d commit 066f0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrations/preact/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"build": "npm run -s build:main && npm run -s build:standalone && npm run -s build:static",
99
"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/",
11-
"build:standalone": "microbundle standalone.mjs -o ../../../preact/standalone.js -f es,umd --no-sourcemap --target web"
11+
"build:standalone": "microbundle standalone.mjs -o ../../../preact/standalone.js -f es,umd --no-sourcemap --target web && cp ../../../preact/standalone.module.js ../../../preact/standalone.mjs"
1212
}
1313
}

0 commit comments

Comments
 (0)