diff --git a/webpack.config.js b/webpack.config.js index 22020dd2c9df93d99bd6154140a1207e98cf0584..5d0601e9fb7aa333c0fe67a6152d5134bc883734 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -161,7 +161,13 @@ var config = module.exports = { }, plugins: [ - new UnusedFilesWebpackPlugin(), + new UnusedFilesWebpackPlugin({ + globOptions: { + ignore: [ + "**/types/*.js" + ] + } + }), // Separates out modules common to multiple entry points into a single common file that should be loaded first. // Not currently useful but necessary for code-splitting new CommonsChunkPlugin({