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

Working around missing manifest.json bug #901

Merged
merged 1 commit into from
Jan 29, 2021

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