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 10
10
"type" : " module" ,
11
11
"types" : " dotnet.d.ts" ,
12
12
"scripts" : {
13
- "rollup" : " rollup -c" ,
13
+ "rollup" : " rollup -c --forceExit " ,
14
14
"lint" : " eslint --no-color --max-warnings=0 \" ./**/*.ts\" \" ./*.js\" " ,
15
15
"format" : " eslint --fix \" ./**/*.ts\" \" ./*.js\" "
16
16
},
Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ import fast_glob from "fast-glob";
13
13
import gitCommitInfo from "git-commit-info" ;
14
14
import MagicString from "magic-string" ;
15
15
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
+ }
21
20
22
21
const configuration = process . env . Configuration ;
23
22
const isDebug = configuration !== "Release" ;
You can’t perform that action at this time.
0 commit comments