@stylexjs/rollup-plugin 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -14,18 +14,18 @@ import type { Plugin } from 'rollup';
14
14
  export type PluginOptions = Readonly<
15
15
  Omit<
16
16
  Partial<Options>,
17
- keyof ({
18
- fileName?: string;
19
- babelConfig?: Readonly<{
20
- plugins?: ReadonlyArray<PluginItem>;
21
- presets?: ReadonlyArray<PluginItem>;
22
- }>;
23
- useCSSLayers?: boolean;
24
- lightningcssOptions?: Omit<
25
- TransformOptions<{}>,
26
- 'code' | 'filename' | 'visitor'
27
- >;
28
- })
17
+ | keyof {
18
+ fileName?: string;
19
+ babelConfig?: Readonly<{
20
+ plugins?: ReadonlyArray<PluginItem>;
21
+ presets?: ReadonlyArray<PluginItem>;
22
+ }>;
23
+ useCSSLayers?: boolean;
24
+ lightningcssOptions?: Omit<
25
+ TransformOptions<{}>,
26
+ 'code' | 'filename' | 'visitor'
27
+ >;
28
+ }
29
29
  > & {
30
30
  fileName?: string;
31
31
  babelConfig?: Readonly<{
@@ -39,5 +39,5 @@ export type PluginOptions = Readonly<
39
39
  >;
40
40
  }
41
41
  >;
42
- declare function stylexPlugin($$PARAM_0$$: PluginOptions): Plugin;
42
+ declare function stylexPlugin($$PARAM_0$$?: PluginOptions): Plugin;
43
43
  export default stylexPlugin;
package/lib/index.js.flow CHANGED
@@ -26,4 +26,6 @@ export type PluginOptions = $ReadOnly<{
26
26
  ...
27
27
  }>;
28
28
 
29
- declare export default function stylexPlugin(PluginOptions): Plugin<>;
29
+ declare export default function stylexPlugin(
30
+ $$PARAM_0$$?: PluginOptions,
31
+ ): Plugin<>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stylexjs/rollup-plugin",
3
- "version": "0.17.0",
3
+ "version": "0.17.2",
4
4
  "description": "Rollup plugin for StyleX",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/es/index.mjs",
@@ -35,7 +35,7 @@
35
35
  "@babel/plugin-syntax-flow": "^7.26.0",
36
36
  "@babel/plugin-syntax-jsx": "^7.25.9",
37
37
  "@babel/plugin-syntax-typescript": "^7.25.9",
38
- "@stylexjs/babel-plugin": "0.17.0",
38
+ "@stylexjs/babel-plugin": "0.17.2",
39
39
  "lightningcss": "^1.29.1"
40
40
  },
41
41
  "devDependencies": {