Skip to content

Conversation

@weaverryan
Copy link
Member

This fixes the 2nd part of #893 - #893 (comment)

On Webpack 5, there is some miscommunication between the CleanWebpackPlugin and the WebpackManifestPlugin when using dev-server.

The WebpackManifestPlugin does emit the physical manifest.json file, but CleanWebpackPlugin then deletes it. CleanWebpackPlugin should just remove files before we start, and not delete anything that's emitted. I'm not sure which plugin has the bug. But, the work around is quite clean.

@weaverryan weaverryan force-pushed the workaround-missing-manifest branch from 6ed2047 to a4a6665 Compare January 29, 2021 00:48
@weaverryan weaverryan merged commit 9962b7f into symfony:main Jan 29, 2021
@weaverryan weaverryan deleted the workaround-missing-manifest branch January 29, 2021 00:53
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

Successfully merging this pull request may close these issues.

1 participant