From dc99b31acb0ee47fa68dca4beb50c0439555372d Mon Sep 17 00:00:00 2001 From: Tomek Niezgoda <1410097+tniezg@users.noreply.github.com> Date: Wed, 7 Apr 2021 13:27:28 +0200 Subject: [PATCH] Fix 'Usage with webpack watch' code example syntax (#1280) Co-authored-by: tniezg --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66820fad5..1c9163299 100644 --- a/README.md +++ b/README.md @@ -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$/ ]})