File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 10
10
"scripts" : {
11
11
"preinstall" : " npx only-allow pnpm" ,
12
12
"clean" : " rm -rf dist dist-ts node_modules" ,
13
- "webpack" : " NODE_OPTIONS=--max_old_space_size=8000 NODE_ENV=development npx webpack --progress --color --watch" ,
14
13
"copy-css" : " mkdir -p dist-ts/src && cp -v src/*.css dist-ts/src/ && cp -v src/*.svg dist-ts/src/ && cp -v src/*.html dist-ts/src/" ,
15
14
"tsc" : " pnpm run copy-css && cd src && ../../node_modules/.bin/tsc --watch --pretty --preserveWatchOutput" ,
16
15
"webpack-prod" : " NODE_OPTIONS=--max_old_space_size=8000 NODE_ENV=production npx webpack --progress --color --watch" ,
17
16
"webpack-measure" : " COCALC_OUTPUT=dist-measure MEASURE=true NODE_ENV=development pnpm webpack " ,
18
17
"webpack-measure-prod" : " COCALC_OUTPUT=dist-prod-measure MEASURE=true pnpm webpack-prod" ,
19
18
"build" : " pnpm run build-dev && ./production-build.py" ,
20
- "build-dev" : " pnpm run copy-css && cd src && ../../node_modules/.bin/tsc --build " ,
19
+ "build-dev" : " pnpm run copy-css && cd src && ../../node_modules/.bin/tsc --build && pnpm rspack build -m development " ,
20
+ "watch" : " pnpm rspack build -m development -w" ,
21
21
"test" : " pnpm exec jest" ,
22
22
"prepublishOnly" : " pnpm test"
23
23
},
You can’t perform that action at this time.
0 commit comments