thgh / rollup-plugin-scss

Rollup and compile multiple .scss, .sass and .css imports
MIT License
134 stars 47 forks source link

The order of imports #85

Open mbursa opened 3 years ago

mbursa commented 3 years ago

Is there a way to control the order of css imports?

In my app.js I have:

import './assets/css/bootstrap.scss';

import layout_a from './layouts/layout-a.vue';  // contains <style> section
import layout_b from './layouts/layout-b.vue';
import page1 from './pages/page1.vue';
import page2 from './pages/page2.vue';

The output bundle css file contains first the