-
Notifications
You must be signed in to change notification settings - Fork 809
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 combining order issues #429
Comments
This seems to be a Webpack-specific issue that we have no control over. I'll nudge the Webpack team to see if any progress has been made. |
I'm experiencing the same exact issue. Makes mix/webpack unusable, really. Are there any workarounds?
|
Any updates for this please?? |
Bug still exists, even with updated |
Please update this! |
Silly issue.. Surprised webpack haven't fixed this yet. You can work around this however, and still keep everything within laravel-mix - it just requires you to split out to multiple CSS files.. webpack.mix.js
bootstrap.scss
app.blade.php
|
This is still an issue which makes Laravel Mix unusable... Has anyone find a fix? Node Version: v8.9.4 |
+1 |
10 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
Today is 2021 and the issue still exists. So the solution what I found is to use third party plugins .scss files OR .css files only. In this case importing order is OK. |
Dear @JeffreyWay I've got reply that the issue is not connected with webpack so where is the real problem? |
This is a problem with sass itself and not with mix or webpack. It is not something we can fix, sorry. |
Description:
I seem to be have some strange issues with the compile order of my requires and imports in app.scss and app.js.
They look like this:
app.scss
app.js
Webpack looks like this:
However, the order of the combined files are not how they are required or imported.
For example, the AdminLTE styles is loaded in before the Bootstrap styles.
Last inserted is Fontawesome, second to last is Bootstrap styles. In the middle of it all I have my Custom, which is imported lastly in the app.scss - hard to make custom changes, if they aren't combined in the right order.
So what is wrong?
Do webpack combine them in a specific order? Gulp did combine in the order of imports and requires.
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: