-
Notifications
You must be signed in to change notification settings - Fork 27
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
Webpack outputs build files that increase in size every iteration #25
Comments
@mintymatt thanks for using my plugin I've tried to reproduce your reported bug but without success: watch mode is working fine and doesn't cause duplicate extraction code As I can see you building the queries config dynamically (using tailwind config) Apart from that a example CSS file would be helpful. |
I've also seen this issue in a project I'm working on too, took me a while to figure out why my CSS was over 10MB! I have a suspicion it's to do with the way this plugin and I'll try and reproduce this issue in a standalone repo that I can share, once I get a chance to. |
@philo23 yes, it'll be really helpful if you provide a repo, codesandbox or something to reproduce the issue |
Hi @SassNinja I'm facing similar problem. Please, see https://gist.github.com/jdgrieco/addca0583b17bf2c98b609ba53c810f5 with sample files When I run in dev mode ( The content of @media (max-width:997px){html{background:green}.sas{top:10px}.abc{border-radius:1px}} When I change border-radius, for example, in @media (max-width: 997px) {
.abc {
border-radius: 0;
}
} the file becomes @media (max-width:997px){html{background:green}.sas{top:10px}.abc{border-radius:1px}}
@media (max-width:997px){html{background:green}.sas{top:10px}.abc{border-radius:0}} What's wrong? So what am I missing? |
@SassNinja same here |
Heya!
Really useful package, has vastly improved performance on our websites with a little PHP magic ❤
I am running into an issue where the output files for the media queries increase in size every time Webpack Watch is triggered. The first pass done by Webpack works, but then further passes done with watching appear to append to the output files (even though the output filenames change).
Is this a chunk issue? It's likely something with my Webpack configuration and if that's the case do you have any advice?
Here's an approximate view of my config:
I don't have any chunk optimisations currently in place (already a speedy compilation and realtime load).
The text was updated successfully, but these errors were encountered: