Skip to content

Commit 6205f51

Browse files
WinterCoreevilebottnawi
authored andcommitted
docs: fixed missing commas in code examples (#254)
* Fixed missing commas in code examples. * Fixed missing commas in docs Fixed a total of 9 missing commas in the example code.
1 parent 66813ad commit 6205f51

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)