diff --git a/README.md b/README.md index ef8193b..a710804 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ config.set({ loaders: [ ... ], postLoaders: [ { // << add subject as webpack's postloader test: /\.js$/, - exclude: /(test|node_modules|bower_components)\//, + exclude: [/test/, /node_modules/, /bower_components/], loader: 'istanbul-instrumenter' } ] },