There was an error while loading. Please reload this page.
1 parent f1950bf commit 8046009Copy full SHA for 8046009
1 file changed
package.json
@@ -8,7 +8,7 @@
8
"scripts": {
9
"build": "npm run -s build:main && npm run -s build:preact && npm run -s build:babel",
10
"build:main": "microbundle src/index.mjs -f es,umd --no-sourcemap --target web",
11
- "build:preact": "microbundle src/integrations/preact.mjs -o preact/index.js -f es,umd --no-sourcemap --target web",
+ "build:preact": "microbundle src/integrations/preact.mjs -o preact/index.js -f es,umd --no-sourcemap --target web && cp src/integrations/preact.d.ts preact/index.d.ts",
12
"build:babel": "microbundle src/babel.mjs -o babel/index.js -f es,cjs --target node --no-compress --no-sourcemap",
13
"test": "eslint src/**/*.mjs test && jest test",
14
"postpublish": "tag-dist-files --overwrite-existing-tag"
0 commit comments