Skip to content

Commit

Permalink
Fix 'Usage with webpack watch' code example syntax (#1280)
Browse files Browse the repository at this point in the history
Co-authored-by: tniezg <tomek.niezgoda@mail.com>
  • Loading branch information
tniezg and tniezg committed Apr 7, 2021
1 parent 0d6c803 commit dc99b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -738,8 +738,8 @@ Because TS will generate .js and .d.ts files, you should ignore these files, oth

// for webpack 5
plugins: [
new webpack.WatchIgnorePlugin(
paths:{[
new webpack.WatchIgnorePlugin({
paths:[
/\.js$/,
/\.d\.ts$/
]})
Expand Down

0 comments on commit dc99b31

Please sign in to comment.