You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Extract Text Plugin with less-loader to import a main.less files with several imports. I have a reset LESS stylesheet at the beginning which should start at the beginning of the compiled CSS. However, my imports are not being output in order. It works fine when I use the regular lessc compiler.
The text was updated successfully, but these errors were encountered:
The order of the extracted text is based on the order of require() calls inside the bundle. If you want to ensure that the output of index.scss is before all the other rules, you need to require("./index.scss") before requiring all the components.
I'm using the Extract Text Plugin with less-loader to import a main.less files with several imports. I have a reset LESS stylesheet at the beginning which should start at the beginning of the compiled CSS. However, my imports are not being output in order. It works fine when I use the regular lessc compiler.
The text was updated successfully, but these errors were encountered: