Skip to content

Commit 9c70158

Browse files
committed
ignore typescript specs
1 parent 5294cf5 commit 9c70158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function makeConfig(options) {
6666
hotUpdateChunkFilename: "updates/[hash].[id].update.js"
6767
},
6868
plugins: [
69-
new webpack.IgnorePlugin(/spec\.js$/),
69+
new webpack.IgnorePlugin(/spec\.[tj]s$/),
7070
// new webpack.optimize.CommonsChunkPlugin('core.js'),
7171
new webpack.optimize.CommonsChunkPlugin({ name: 'vendor', filename: 'vendor.js', minChunks: Infinity }),
7272
new webpack.optimize.CommonsChunkPlugin({ name: 'common', filename: 'common.js', minChunks: 2, chunks: ['app', 'vendor'] }),

0 commit comments

Comments
 (0)