Closed sokra closed 8 years ago
@value def as aaa from './file1'; @value def as bbb from './file2';
generates this ICSS:
:export { aaa: i__const_aaa_1; bbb: i__const_bbb_2; } :import('./file2') { i__const_bbb_2: def; } :import('./file1') { i__const_aaa_1: def; }
but should instead generate the imports in the correct order:
(Also moved :export after :import blocks, because it make more sense, but this is not the orginal issue)
:export
:import
:import('./file1') { i__const_aaa_1: def; } :import('./file2') { i__const_bbb_2: def; } :export { aaa: i__const_aaa_1; bbb: i__const_bbb_2; }
This is important because import order defines order of css rules.
generates this ICSS:
but should instead generate the imports in the correct order:
(Also moved
:export
after:import
blocks, because it make more sense, but this is not the orginal issue)This is important because import order defines order of css rules.