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

Wrong css order on production #1422

Closed
aerni opened this issue Jan 19, 2018 · 1 comment
Closed

Wrong css order on production #1422

aerni opened this issue Jan 19, 2018 · 1 comment

Comments

@aerni
Copy link

aerni commented Jan 19, 2018

  • Laravel Mix Version: 1.7.2
  • Node Version (node -v):
  • NPM Version (npm -v):
  • OS: maxOS Sierra 10.12.6

Description:

When using "npm run prod", the css output is different to "npm run dev" and "npm run watch". It puts the css classes in a wrong order. This might be related to CSS Output Order Differs between Production and Dev #815, get wrong css order after using HashedModuleIdsPlugin #5733, get wrong css order after using HashedModuleIdsPlugin #642

Steps To Reproduce:

It's hard to reproduce this, as I don't know myself when and why this happens. For now I just stumbled upon one style in my css that gets left out and overwritten by this issue. I can provide you with all my source files if needed.

@JeffreyWay
Copy link
Collaborator

I think it's related to the extract plugin. We're at their mercy until it's fixed. Nothing on the Mix end we can do, I don't think.

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

2 participants