I have a bunch of static assets (images, fonts, etc.) and map files that do not need to be included in the manifest file. It would be great to be able filter these out.
new ManifestPlugin({
...
filter: 'foo.bar',
// or regex
filter: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/
// or function
filter: ({chunk, fileName}) => !fileName.endsWith('.bar')
})
I have a bunch of static assets (images, fonts, etc.) and map files that do not need to be included in the manifest file. It would be great to be able filter these out.