Closed devkral closed 3 years ago
Documentation Is:
webpack-clean plugin deletes manifest.json if used with webpack-dev-server. It should be documented that you have to exclude manifest.json like this
new CleanWebpackPlugin({ verbose: true, //important elsewise minifest.json is deleted cleanOnceBeforeBuildPatterns: ['**/*', '!manifest.json'], }),
Thanks, I'll add this to the README.
Thanks, this saved me from opening a new issue for manifest not being generated with webpack-dev-server
Documentation Is:
Please Explain in Detail...
webpack-clean plugin deletes manifest.json if used with webpack-dev-server. It should be documented that you have to exclude manifest.json like this