Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document usage of writeToFileEmit with webpack-clean plugin #267

Closed
1 of 4 tasks
devkral opened this issue Jun 5, 2021 · 2 comments
Closed
1 of 4 tasks

document usage of writeToFileEmit with webpack-clean plugin #267

devkral opened this issue Jun 5, 2021 · 2 comments

Comments

@devkral
Copy link

devkral commented Jun 5, 2021

  • Manifest Plugin Version:
    3.1.1

Documentation Is:

  • Missing
  • Needed
  • Confusing
  • Not Sure?

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

new CleanWebpackPlugin({
            verbose: true,
//important elsewise minifest.json is deleted
            cleanOnceBeforeBuildPatterns: ['**/*', '!manifest.json'],
        }),
@shellscape
Copy link
Owner

Thanks, I'll add this to the README.

@gaurav5430
Copy link

Thanks, this saved me from opening a new issue for manifest not being generated with webpack-dev-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants