File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1010 "type" : " module" ,
1111 "types" : " dotnet.d.ts" ,
1212 "scripts" : {
13- "rollup" : " rollup -c" ,
13+ "rollup" : " rollup -c --forceExit " ,
1414 "lint" : " eslint --no-color --max-warnings=0 \" ./**/*.ts\" \" ./*.js\" " ,
1515 "format" : " eslint --fix \" ./**/*.ts\" \" ./*.js\" "
1616 },
Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ import fast_glob from "fast-glob";
1313import gitCommitInfo from "git-commit-info" ;
1414import MagicString from "magic-string" ;
1515
16- setTimeout ( ( ) => {
17- // eslint-disable-next-line no-console
18- console . log ( "Forcibly exiting process to work around hang in rollup" ) ;
19- process . exit ( ) ;
20- } , 35000 ) ;
16+
17+ if ( process . versions . node . split ( "." ) [ 0 ] < 18 ) {
18+ throw new Error ( `NodeJS at '${ process . execPath } ' has too low version '${ process . versions . node } '` ) ;
19+ }
2120
2221const configuration = process . env . Configuration ;
2322const isDebug = configuration !== "Release" ;
You can’t perform that action at this time.
0 commit comments