Skip to content

Commit 5ad06dc

Browse files
committed
fix: add cpy for the declaration file
1 parent 6be5059 commit 5ad06dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"lib:wasm:build:debug": "asc lib/assembly/as-bind.ts -b dist/as-bind.debug.wasm -t dist/as-bind.debug.wat --sourceMap --debug --runtime full",
1919
"lib:wasm:build:optimized": "asc lib/assembly/as-bind.ts -b dist/as-bind.wasm --sourceMap dist/as-bind.wasm.map -t dist/as-bind.wat --runtime full -O3",
2020
"lib:wasm:build:cp": "cpy 'lib/assembly/**/*' dist",
21-
"lib:js:build": "rollup -c --environment LIB,PROD",
21+
"lib:js:build": "rollup -c --environment LIB,PROD && cpy 'lib/as-bind.d.ts' dist",
2222
"lib:js:build:dev": "rollup -c --environment LIB,DEV",
2323
"lib:test:build": "asc lib/assembly/as-bind.ts test/assembly/test.ts -b test/assembly/test.wasm --runtime full --debug",
2424
"lib:deploy": "npm run build && np",

0 commit comments

Comments
 (0)