Skip to content

Releases: HorusGoul/vite-plugin-stylex

vite-plugin-stylex@0.13.0

06 Nov 19:00
b6a179c
Compare
Choose a tag to compare

Minor Changes

  • 46af3e4: Support for StyleX 0.9.3. Thanks to @nikeee for helping with this!

vite-plugin-stylex@0.12.0

08 Oct 13:00
d593347
Compare
Choose a tag to compare

Minor Changes

vite-plugin-stylex@0.11.0

27 Sep 19:48
89537ad
Compare
Choose a tag to compare

Minor Changes

  • cb3630d: Add option for CSS layer output (useCSSLayers). Thanks to @nathpaiement for the contribution!

Patch Changes

vite-plugin-stylex@0.10.1

04 Jul 10:32
677a735
Compare
Choose a tag to compare

Patch Changes

  • 00f28ca: Remove undefined values from rules array before passing to stylex babel plugin.

Thanks @lecstor!

vite-plugin-stylex@0.10.0

28 Jun 12:18
c806b2c
Compare
Choose a tag to compare

Minor Changes

vite-plugin-stylex@0.9.0

11 Jun 21:59
63ff3d1
Compare
Choose a tag to compare

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

  • ac1cf0e: Transform the stylesheet that includes the @stylex stylesheet; before the Vite CSS plugins

vite-plugin-stylex@0.8.3

14 Apr 15:51
65ba91a
Compare
Choose a tag to compare

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

29 Mar 14:18
77f5c50
Compare
Choose a tag to compare

Patch Changes

  • a5b5ae3: Fixes building projects that include assets and use LightningCSS. Fixes #60.

vite-plugin-stylex@0.8.1

26 Mar 00:11
4431721
Compare
Choose a tag to compare

Patch Changes

  • 46c32cd: ?url import fix for Remix

vite-plugin-stylex@0.8.0

22 Mar 01:53
fc8f1d2
Compare
Choose a tag to compare

Minor Changes

  • 41bc4f9: Apply Vite CSS processing and post-processing

    This enables minification and other optimizations for CSS files.