Skip to content

Commit e5c2314

Browse files
committed
Run preload strip script before bundling
Bit pointless right now - it runs after the code has been fully bundled into an installer, so doesn't help much.
1 parent d2039c4 commit e5c2314

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
@@ -11,9 +11,9 @@
1111
"server:setup": "ts-node ./setup-server.ts",
1212
"build": "npm run build:src && npm run build:electron",
1313
"build:src": "tsc",
14+
"postbuild:src": "ts-node ./strip-preload-map.ts",
1415
"build:electron": "npm run server:setup && electron-builder build",
1516
"build:dir-only": "npm run server:setup && electron-builder --dir",
16-
"postbuild": "ts-node ./strip-preload-map.ts",
1717
"start": "npm run server:setup && npm run start:app",
1818
"start:dev": "ts-node ./skip-server.ts && cross-env HTK_DEV=true APP_URL='http://local.httptoolkit.tech:8080' npm run start:app",
1919
"start:app": "tsc-watch --onSuccess \"electron .\""

0 commit comments

Comments
 (0)