Skip to content

Commit

Permalink
refactor: use compiler.inputFileSystem instead fs
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Jan 16, 2018
1 parent 7f3486b commit fe9c6d0
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 56 deletions.
171 changes: 122 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"babel-preset-es2015": "^6.6.0",
"chai": "^3.4.0",
"eslint": "^2.9.0",
"enhanced-resolve": "^3.4.1",
"mocha": "^2.4.5",
"ncp": "^2.0.0",
"standard-version": "^4.2.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function CopyWebpackPlugin(patterns = [], options = {}) {
fileDependencies,
contextDependencies,
context,
inputFileSystem: compiler.inputFileSystem,
output: compiler.options.output.path,
ignore: options.ignore || [],
copyUnmodified: options.copyUnmodified,
Expand Down
Loading

0 comments on commit fe9c6d0

Please sign in to comment.