Hi I have a webpack config with these entry points:
entry: {
\'polyfills\': \'./src/polyfills.ts\',
\'vendor\': \'./src/vendor.ts\',
\'app
You can delete any files or folders after compilation by using remove-files-webpack-plugin.
Use this plugin like this:
plugins: [
new RemovePlugin({
after: {
// expects what your output folder is `dist`.
include: [
'./dist/css.bundle.js',
'./dist/css.map'
]
}
})
]
Note: i'm the creator of this plugin.