Skip to content
Snippets Groups Projects
Commit ae8c0938 authored by Tom Robinson's avatar Tom Robinson
Browse files

Tell UnusedFilesWebpackPlugin to ignore 'types' directories

parent bdcf33af
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment