Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Order of css in production.css

$
0
0
Hi,

I've got this setup to steal jquery-ui component base css. At the end I want to load my own css. In development it works fine, but in production.css my own css is loaded first (even though during the build it is mentioned last).

e.g. (the reality is more complicated, but just to get the idea)

steal(
      'steal-ui-css/dialog',
      'steal-ui-css/draggable',
).then(
      './my_styles.css'
)

during the build I see:
[snip]
+ steal-ui-css/dialog/dialog.css
+ steal-ui-css/draggable/draggable.css
[snip]
+ my_styles.css

All seems fine, but my_styles.css is at the top op production.css


Viewing all articles
Browse latest Browse all 3491

Trending Articles