Skip to content

Commit dc99b31

Browse files
tniezgtniezg
and
tniezg
authored
Fix 'Usage with webpack watch' code example syntax (#1280)
Co-authored-by: tniezg <tomek.niezgoda@mail.com>
1 parent 0d6c803 commit dc99b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -738,8 +738,8 @@ Because TS will generate .js and .d.ts files, you should ignore these files, oth
738738

739739
// for webpack 5
740740
plugins: [
741-
new webpack.WatchIgnorePlugin(
742-
paths:{[
741+
new webpack.WatchIgnorePlugin({
742+
paths:[
743743
/\.js$/,
744744
/\.d\.ts$/
745745
]})

0 commit comments

Comments
 (0)