Skip to content

Commit 85b145c

Browse files
committed
chore: use a separate build step for tsc [skip ci]
1 parent d6929bf commit 85b145c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
"clean": "shx rm -rf dist",
2222
"build.native": "dub build --config=executable",
2323
"build.native.release": "pnpm build.native -- --build release-nobounds --compiler=ldc2",
24-
"build.native.profile": "pnpm build.native -- --build profile --compiler=ldc2 && node ./src/node/build.js",
24+
"build.native.profile": "pnpm build.native -- --build profile --compiler=ldc2 && node ./src/node/build.js && npm run build.node.js",
2525
"start.profile": "npm run start.benchmark && profdump.exe --dot trace.log trace.dot && dot -Tsvg trace.dot -o trace.svg && ./trace.svg",
26-
"build.node": "npm run build.native.release && node ./src/node/build.js && (tsc -p ./src/node/tsconfig.json || echo done)",
26+
"build.node": "npm run build.native.release && node ./src/node/build.js && npm run build.node.js",
27+
"build.node.js": "tsc -p ./src/node/tsconfig.json",
2728
"build.wasm": "ldc2 ./src/wasm/wasm.d ./src/native/lib.d --od ./dist --O3 --mtriple=wasm32-unknown-unknown-wasm",
2829
"build.browser": "npm run build.wasm && parcel build --target browser ./src/browser/index.html",
2930
"start.browser": "servor ./dist/ --browse --reload",

0 commit comments

Comments
 (0)