File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -242,13 +242,17 @@ ForkTsCheckerWebpackPlugin.prototype.spawnService = function () {
242
242
[ ] ,
243
243
{
244
244
execArgv : this . workersNumber > 1 ? [ ] : [ '--max-old-space-size=' + this . memoryLimit ] ,
245
- env : {
246
- TSCONFIG : this . tsconfigPath ,
247
- TSLINT : this . tslintPath || '' ,
248
- WATCH : this . isWatching ? this . watchPaths . join ( '|' ) : '' ,
249
- WORK_DIVISION : Math . max ( 1 , this . workersNumber ) ,
250
- MEMORY_LIMIT : this . memoryLimit
251
- } ,
245
+ env : Object . assign (
246
+ { } ,
247
+ process . env ,
248
+ {
249
+ TSCONFIG : this . tsconfigPath ,
250
+ TSLINT : this . tslintPath || '' ,
251
+ WATCH : this . isWatching ? this . watchPaths . join ( '|' ) : '' ,
252
+ WORK_DIVISION : Math . max ( 1 , this . workersNumber ) ,
253
+ MEMORY_LIMIT : this . memoryLimit
254
+ }
255
+ ) ,
252
256
stdio : [ 'inherit' , 'inherit' , 'inherit' , 'ipc' ]
253
257
}
254
258
) ;
You can’t perform that action at this time.
0 commit comments