stylex-webpack 0.4.11 → 0.4.12

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.js CHANGED
@@ -5,7 +5,7 @@ var path = require('node:path');
5
5
  var process = require('node:process');
6
6
  var identity = require('foxts/identity');
7
7
 
8
- var version = "0.4.11";
8
+ var version = "0.4.12";
9
9
 
10
10
  const PLUGIN_NAME = 'stylex';
11
11
  const VIRTUAL_ENTRYPOINT_CSS_PATH = require.resolve('./stylex.css');
package/dist/next.js CHANGED
@@ -141,7 +141,6 @@ function withStyleX(pluginOptions) {
141
141
  config.plugins.push(new index.StyleXPlugin({
142
142
  nextjsMode: true,
143
143
  nextjsAppRouterMode: true,
144
- ...pluginOptions,
145
144
  stylexOption: {
146
145
  ...pluginOptions?.stylexOption,
147
146
  dev: ctx.dev
@@ -156,7 +155,8 @@ function withStyleX(pluginOptions) {
156
155
  return pluginOptions.transformCss(result.css);
157
156
  }
158
157
  return result.css;
159
- }
158
+ },
159
+ ...pluginOptions
160
160
  }));
161
161
  return config;
162
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stylex-webpack",
3
- "version": "0.4.11",
3
+ "version": "0.4.12",
4
4
  "description": "The another Webpack Plugin for Facebook's StyleX",
5
5
  "homepage": "https://github.com/SukkaW/style9-webpack#readme",
6
6
  "repository": {
@@ -66,21 +66,21 @@
66
66
  "devDependencies": {
67
67
  "@eslint-sukka/node": "^8.7.1",
68
68
  "@rollup/plugin-json": "^6.1.0",
69
- "@stylexjs/stylex": "^0.17.5",
69
+ "@stylexjs/stylex": "^0.18.1",
70
70
  "@swc-node/register": "^1.11.1",
71
71
  "@swc/core": "^1.15.18",
72
72
  "@types/babel__core": "^7.20.5",
73
73
  "@types/loader-utils": "^3.0.0",
74
74
  "@types/mocha": "^10.0.10",
75
- "@types/node": "^22.19.13",
75
+ "@types/node": "^22.19.15",
76
76
  "browserslist": "^4.28.1",
77
77
  "bumpp": "^10.4.1",
78
78
  "css-loader": "^7.1.4",
79
79
  "earl": "^2.0.0",
80
- "eslint": "^9.39.3",
80
+ "eslint": "^9.39.4",
81
81
  "eslint-config-sukka": "^8.7.1",
82
82
  "eslint-formatter-sukka": "^8.7.1",
83
- "memfs": "^4.56.10",
83
+ "memfs": "^4.56.11",
84
84
  "mini-css-extract-plugin": "^2.10.0",
85
85
  "mocha": "^11.7.5",
86
86
  "next": "^15.5.12",
@@ -92,7 +92,7 @@
92
92
  "rollup-plugin-swc3": "^0.12.1",
93
93
  "swc-loader": "^0.2.7",
94
94
  "typescript": "^5.9.3",
95
- "webpack": "^5.105.3"
95
+ "webpack": "^5.105.4"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@stylexjs/babel-plugin": "*",