Skip to content

Commit

Permalink
wip: fix webpack:shortcut script
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiry committed Aug 28, 2024
1 parent 8275b1b commit e0c56be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"scripts/transfer": "pnpm run ts-node:shortcut ./scripts/transfer/index.ts",
"electron-builder:shortcut": "npm exec --package=electron-builder -- electron-builder",
"ts-node:shortcut": "cross-env TS_NODE_FILES=true node --loader ts-node/esm",
"webpack:shortcut": "cross-env TS_NODE_FILES=true TS_NODE_PROJECT=./webpack-configs/tsconfig.json NODE_OPTIONS=\"--import \\\"data:text/javascript,import { register } from 'node:module'; import { pathToFileURL } from 'node:url'; register('ts-node/esm', pathToFileURL('./'));\\\"\" npm exec --package=webpack-cli -- webpack"
"webpack:shortcut": "cross-env TS_NODE_FILES=true TS_NODE_PROJECT=./webpack-configs/tsconfig.json npm exec --package=webpack-cli --node-options=\"--loader ts-node/esm --experimental-json-modules\" -- webpack"
},
"dependencies": {
"electron-rpc-api": "10.0.0",
Expand Down

0 comments on commit e0c56be

Please sign in to comment.