@stylexswc/nextjs-plugin 0.12.0-rc.1 → 0.12.0
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 +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -137,7 +137,7 @@ const withStyleX = (pluginOptions) => (nextConfig = {}) => {
|
|
|
137
137
|
config.plugins ??= [];
|
|
138
138
|
let lazyPostCSSPromise = null;
|
|
139
139
|
const postcss = () => {
|
|
140
|
-
lazyPostCSSPromise ||= (0, css_1.lazyPostCSS)(ctx.dir, getSupportedBrowsers(ctx.dir, ctx.dev),
|
|
140
|
+
lazyPostCSSPromise ||= (0, css_1.lazyPostCSS)(ctx.dir, getSupportedBrowsers(ctx.dir, ctx.dev), nextConfig?.experimental?.disablePostcssPresetEnv, nextConfig?.experimental?.useLightningcss);
|
|
141
141
|
return lazyPostCSSPromise;
|
|
142
142
|
};
|
|
143
143
|
if (extractCSS) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/nextjs-plugin",
|
|
3
3
|
"description": "StyleX NextJS plugin with NAPI-RS compiler",
|
|
4
|
-
"version": "0.12.0
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@stylexswc/rs-compiler": "0.12.0
|
|
22
|
-
"@stylexswc/webpack-plugin": "0.12.0
|
|
21
|
+
"@stylexswc/rs-compiler": "0.12.0",
|
|
22
|
+
"@stylexswc/webpack-plugin": "0.12.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@babel/types": "^7.28.4",
|
|
26
|
-
"@stylexswc/eslint-config": "0.12.0
|
|
27
|
-
"@stylexswc/typescript-config": "0.12.0
|
|
26
|
+
"@stylexswc/eslint-config": "0.12.0",
|
|
27
|
+
"@stylexswc/typescript-config": "0.12.0",
|
|
28
28
|
"@types/babel__core": "^7.20.5",
|
|
29
29
|
"@types/node": "^24.7.2",
|
|
30
30
|
"next": "^15.5.4",
|