@stylexswc/webpack-plugin 0.7.1 → 0.8.0-rc.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/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
+ import stylexBabelPlugin from '@stylexjs/babel-plugin';
1
2
  import { VIRTUAL_CSS_PATTERN } from './constants';
2
3
  import type webpack from 'webpack';
3
4
  import type { Rule as StyleXRule } from '@stylexjs/babel-plugin';
4
5
  import type { CSSTransformer, StyleXPluginOption, StyleXWebpackLoaderOptions } from './types';
5
6
  export type RegisterStyleXRules = (_resourcePath: string, _stylexRules: StyleXRule[]) => void;
6
7
  export default class StyleXPlugin {
7
- stylexRules: Map<string, readonly StyleXRule[]>;
8
+ stylexRules: Map<string, readonly stylexBabelPlugin.Rule[]>;
8
9
  useCSSLayers: boolean;
9
10
  loaderOption: StyleXWebpackLoaderOptions;
10
11
  transformCss: CSSTransformer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAML,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,0BAA0B,EAE3B,MAAM,SAAS,CAAC;AAkBjB,MAAM,MAAM,mBAAmB,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;AAE9F,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,WAAW,qCAA4C;IACvD,YAAY,EAAE,OAAO,CAAC;IAEtB,YAAY,EAAE,0BAA0B,CAAC;IAEzC,YAAY,EAAE,cAAc,CAAC;gBAEjB,EACV,aAA8C,EAC9C,YAAoB,EACpB,SAAc,EACd,UAAkB,EAClB,YAAgC,EAChC,WAA2B,EAC3B,UAAiB,GAClB,GAAE,kBAAuB;IAoB1B,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ;CA4JjC;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAML,mBAAmB,EACpB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,0BAA0B,EAE3B,MAAM,SAAS,CAAC;AAkBjB,MAAM,MAAM,mBAAmB,GAAG,CAAC,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;AAE9F,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,WAAW,iDAA4C;IACvD,YAAY,EAAE,OAAO,CAAC;IAEtB,YAAY,EAAE,0BAA0B,CAAC;IAEzC,YAAY,EAAE,cAAc,CAAC;gBAEjB,EACV,aAA8C,EAC9C,YAAoB,EACpB,SAAc,EACd,UAAkB,EAClB,YAAgC,EAChC,WAA2B,EAC3B,UAAiB,GAClB,GAAE,kBAAuB;IAoB1B,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ;CA4JjC;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stylexswc/webpack-plugin",
3
3
  "description": "StyleX webpack plugin with NAPI-RS compiler",
4
- "version": "0.7.1",
4
+ "version": "0.8.0-rc.2",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
@@ -18,19 +18,19 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@stylexjs/babel-plugin": "^0.11.1",
22
- "@stylexswc/rs-compiler": "0.7.1",
21
+ "@stylexjs/babel-plugin": "^0.12.0",
22
+ "@stylexswc/rs-compiler": "0.8.0-rc.2",
23
23
  "loader-utils": "^3.3.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@babel/types": "^7.26.10",
27
- "@stylexswc/eslint-config": "0.7.1",
28
- "@stylexswc/typescript-config": "0.7.1",
26
+ "@babel/types": "^7.27.1",
27
+ "@stylexswc/eslint-config": "0.8.0-rc.2",
28
+ "@stylexswc/typescript-config": "0.8.0-rc.2",
29
29
  "@types/babel__core": "^7.20.5",
30
30
  "@types/loader-utils": "^2.0.6",
31
- "@types/node": "^22.13.13",
31
+ "@types/node": "^22.15.15",
32
32
  "mini-css-extract-plugin": "^2.9.2",
33
- "webpack": "^5.98.0"
33
+ "webpack": "^5.99.8"
34
34
  },
35
35
  "keywords": [
36
36
  "stylex",