File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change 2
2
MIT License http://www.opensource.org/licenses/mit-license.php
3
3
Author Tobias Koppers @sokra
4
4
*/
5
- var NodeSubProcessExecutor = require ( "./NodeSubProcessExecutor" ) ;
6
5
var NodeWatchFileSystem = require ( "./NodeWatchFileSystem" ) ;
7
6
var NodeOutputFileSystem = require ( "./NodeOutputFileSystem" ) ;
8
7
var NodeJsInputFileSystem = require ( "enhanced-resolve/lib/NodeJsInputFileSystem" ) ;
9
8
var CachedInputFileSystem = require ( "enhanced-resolve/lib/CachedInputFileSystem" ) ;
10
9
11
- function NodeEnvironmentPlugin ( separate ) {
12
- this . separate = separate ;
10
+ function NodeEnvironmentPlugin ( ) {
13
11
}
14
12
module . exports = NodeEnvironmentPlugin ;
15
13
NodeEnvironmentPlugin . prototype . apply = function ( compiler ) {
16
- if ( this . separate && NodeSubProcessExecutor . availible ( ) ) {
17
- compiler . separateExecutor = new NodeSubProcessExecutor ( this . separate ) ;
18
- }
19
14
compiler . inputFileSystem = new NodeJsInputFileSystem ( ) ;
20
15
compiler . inputFileSystem = new CachedInputFileSystem ( compiler . inputFileSystem , 6000 ) ;
21
16
compiler . resolvers . normal . fileSystem = compiler . inputFileSystem ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments