@@ -69,11 +69,11 @@ Or, in case of just a `from` with the default destination, you can also use a `{
6969``` js
7070[
7171 new CopyWebpackPlugin ([
72- ' relative/path/to/file.ext'
73- ' /absolute/path/to/file.ext'
74- ' relative/path/to/dir'
75- ' /absolute/path/to/dir'
76- ' **/*'
72+ ' relative/path/to/file.ext' ,
73+ ' /absolute/path/to/file.ext' ,
74+ ' relative/path/to/dir' ,
75+ ' /absolute/path/to/dir' ,
76+ ' **/*' ,
7777 { glob: ' \*\* /\* ' , dot: true }
7878 ], options)
7979]
@@ -85,7 +85,7 @@ Or, in case of just a `from` with the default destination, you can also use a `{
8585``` js
8686[
8787 new CopyWebpackPlugin ([
88- { from: ' **/*' , to: ' relative/path/to/dest/' }
88+ { from: ' **/*' , to: ' relative/path/to/dest/' },
8989 { from: ' **/*' , to: ' /absolute/path/to/dest/' }
9090 ], options)
9191]
@@ -136,7 +136,7 @@ Or, in case of just a `from` with the default destination, you can also use a `{
136136[
137137 new CopyWebpackPlugin ([
138138 {
139- from: ' src/'
139+ from: ' src/' ,
140140 to: ' dest/[name].[hash].[ext]' ,
141141 toType: ' template'
142142 }
@@ -171,7 +171,7 @@ and so on...
171171``` js
172172[
173173 new CopyWebpackPlugin ([
174- { from: ' src/**/*' to: ' dest/' , force: true }
174+ { from: ' src/**/*' , to: ' dest/' , force: true }
175175 ], options)
176176]
177177```
@@ -182,7 +182,7 @@ and so on...
182182``` js
183183[
184184 new CopyWebpackPlugin ([
185- { from: ' src/**/*' to: ' dest/' , ignore: [ ' *.js' ] }
185+ { from: ' src/**/*' , to: ' dest/' , ignore: [ ' *.js' ] }
186186 ], options)
187187]
188188```
0 commit comments