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

Manifest file is not taking compressed files #231

Closed
jkevingutierrez opened this issue Dec 3, 2020 · 5 comments
Closed

Manifest file is not taking compressed files #231

jkevingutierrez opened this issue Dec 3, 2020 · 5 comments

Comments

@jkevingutierrez
Copy link

jkevingutierrez commented Dec 3, 2020

Expected Behavior

Using compression-webpack-plugin with webpack-manifest-plugin should include the compressed files generated by compression-webpack-plugin in the manifest.json file

{
  "input.js": "input.js",
  "input.js.gz": "input.js.gz"
}

Actual Behavior

Files generated by compression-webpack-plugin are not included in the manifest.json file

{
  "input.js": "input.js"
}

Additional Information

It was working before on Webpack v4 and manifest plugin v2: https://repl.it/@jkevingutierrez/manifest-plugin-repro-1#dist/manifest.json

@shellscape
Copy link
Owner

See #229 for the auto issue ( and please search issues )

Did this work in the previous version of this plugin on webpack v4?

@jkevingutierrez
Copy link
Author

jkevingutierrez commented Dec 3, 2020

(My bad, I just searched in open issues)

About the compression problem, it was working before on Webpack v4:

https://repl.it/@jkevingutierrez/manifest-plugin-repro-1#dist/manifest.json

@shellscape
Copy link
Owner

No problem. I'll use your repro to make an integration test and work on this

@shellscape
Copy link
Owner

Unfortunately you're running into an early adoption problem :( Webpack v5 just isn't ready, and the official plugins aren't either. Please see this comment webpack/webpack#11822 (comment) in a webpack core issue. They have some more work to do in order to get this to work like it did with Webpack v4.

@stale
Copy link

stale bot commented Feb 15, 2021

Hey folks. This issue hasn't received any traction for 60 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

@stale stale bot closed this as completed Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants