nonzzz / vite-plugin-stylex

an unofficial @stylexjs vite support
MIT License
47 stars 4 forks source link

feat: support control css order by manually #17

Closed nonzzz closed 2 months ago

nonzzz commented 2 months ago

Features

Others

What is manuallyControlCssOrder, In the past, our css was automatically injected, So it will be affected by some styles, such as css variable and etc. Now you can using manuallyControlCssOrder and define some logic in follow code block


@custom-media --mx-1 (width <= 1024px);

@stylex-dev;
  manuallyControlCssOrder: {
    id: 'xxx.css',
    symbol: '@stylex-dev;'
  }

14 #15 #11