From 5652ab35c967fe855acdbae32648860449cc3712 Mon Sep 17 00:00:00 2001 From: tniezg Date: Wed, 7 Apr 2021 12:36:46 +0200 Subject: [PATCH] Fix 'Usage with webpack watch' code example syntax --- 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$/ ]})