Releases: HorusGoul/vite-plugin-stylex
Releases · HorusGoul/vite-plugin-stylex
vite-plugin-stylex@0.13.0
vite-plugin-stylex@0.12.0
Minor Changes
- aeba940: Support for 0.8.0
vite-plugin-stylex@0.11.0
Minor Changes
- cb3630d: Add option for CSS layer output (
useCSSLayers
). Thanks to @nathpaiement for the contribution!
Patch Changes
- d084af2: Fix #82 babel import undefined in Nuxt environments. Thanks to @nathpaiement for the contribution!
vite-plugin-stylex@0.10.1
vite-plugin-stylex@0.10.0
Minor Changes
- 378f5c5: Support StyleX 0.7.0
vite-plugin-stylex@0.9.0
Minor Changes
-
7c43a01: Refactor Plugin to delegate more work to Vite itself
- Use Vite's CSS pipeline for all CSS processing
- Use Vite's
waitForRequestsIdle
experimental API to wait before generating the StyleX StyleSheet - Move to use
renderChunk
hook to generate the StyleX StyleSheet during builds.
This change should make the plugin more robust and easier to maintain in the future.
BREAKING CHANGES
- The plugin now requires Vite 5.2.7 or higher
- There's no more implicit CSS processing, you need to include the
@stylex stylesheet;
rule in a CSS file to generate the StyleX StyleSheet
To migrate, add the
@stylex stylesheet;
rule to a CSS file in your project. Import that CSS file in your entrypoint./* stylex.css */ @stylex stylesheet; ...
// main.ts import './stylex.css'; ...
Patch Changes
vite-plugin-stylex@0.8.3
Patch Changes
- 9a969ac: Fix alias path on Windows to be '@/' or '@src/' instead of '@\' or '@src\'. Thanks to @DarkAng3L for the PR!
vite-plugin-stylex@0.8.2
vite-plugin-stylex@0.8.1
Patch Changes
- 46c32cd: ?url import fix for Remix
vite-plugin-stylex@0.8.0
Minor Changes
-
41bc4f9: Apply Vite CSS processing and post-processing
This enables minification and other optimizations for CSS files.