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 22 MIT License http://www.opensource.org/licenses/mit-license.php
33 Author Tobias Koppers @sokra
44*/
5- var NodeSubProcessExecutor = require ( "./NodeSubProcessExecutor" ) ;
65var NodeWatchFileSystem = require ( "./NodeWatchFileSystem" ) ;
76var NodeOutputFileSystem = require ( "./NodeOutputFileSystem" ) ;
87var NodeJsInputFileSystem = require ( "enhanced-resolve/lib/NodeJsInputFileSystem" ) ;
98var CachedInputFileSystem = require ( "enhanced-resolve/lib/CachedInputFileSystem" ) ;
109
11- function NodeEnvironmentPlugin ( separate ) {
12- this . separate = separate ;
10+ function NodeEnvironmentPlugin ( ) {
1311}
1412module . exports = NodeEnvironmentPlugin ;
1513NodeEnvironmentPlugin . prototype . apply = function ( compiler ) {
16- if ( this . separate && NodeSubProcessExecutor . availible ( ) ) {
17- compiler . separateExecutor = new NodeSubProcessExecutor ( this . separate ) ;
18- }
1914 compiler . inputFileSystem = new NodeJsInputFileSystem ( ) ;
2015 compiler . inputFileSystem = new CachedInputFileSystem ( compiler . inputFileSystem , 6000 ) ;
2116 compiler . resolvers . normal . fileSystem = compiler . inputFileSystem ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments