Skip to content

Commit 720026a

Browse files
authoredDec 16, 2020
fix: compatibility with webpack 4 file system (#570)
1 parent 6c11e21 commit 720026a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ class CopyPlugin {
154154

155155
// TODO remove after drop webpack@4
156156
if (
157+
compiler.webpack &&
157158
inputFileSystem.lstat &&
158159
inputFileSystem.stat &&
159160
inputFileSystem.lstatSync &&

0 commit comments

Comments
 (0)
Please sign in to comment.