Skip to content

Commit 8046009

Browse files
committed
copy types to dist
1 parent f1950bf commit 8046009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "npm run -s build:main && npm run -s build:preact && npm run -s build:babel",
1010
"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",
11+
"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",
1212
"build:babel": "microbundle src/babel.mjs -o babel/index.js -f es,cjs --target node --no-compress --no-sourcemap",
1313
"test": "eslint src/**/*.mjs test && jest test",
1414
"postpublish": "tag-dist-files --overwrite-existing-tag"

0 commit comments

Comments
 (0)