Skip to content

Commit 5474889

Browse files
grgurevilebottnawi
authored andcommitted
docs: context option is a string, not array (#269)
Following the example, webpack emits an error ```sh TypeError: Path must be a string. ``` Replaced with string, which actually works fine in the latest webpack 4.15.0
1 parent 1f92729 commit 5474889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ and so on...
335335
[
336336
new CopyWebpackPlugin(
337337
[ ...patterns ],
338-
{ context: [ '/app' ] }
338+
{ context: '/app' }
339339
)
340340
]
341341
```

0 commit comments

Comments
 (0)