@stylexswc/rollup-plugin 0.4.1-rc.1 → 0.4.1
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/README.md +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Webpack plugin with NAPI-RS StyleX compiler integration
|
|
2
2
|
|
|
3
3
|
`Webpack plugin` for an unofficial
|
|
4
|
-
[`napi-rs`](https://github.com/dwlad90/stylex-swc-plugin/tree/
|
|
4
|
+
[`napi-rs`](https://github.com/dwlad90/stylex-swc-plugin/tree/develop/crates/stylex-rs-compiler)
|
|
5
5
|
compiler that includes the StyleX SWC code transformation under the hood.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
@@ -52,4 +52,4 @@ The options are similar like `@stylexjs/babel-plugin` and can be found [here](ht
|
|
|
52
52
|
## Documentation
|
|
53
53
|
|
|
54
54
|
* [StyleX Documentation](https://stylexjs.com)
|
|
55
|
-
* [NAPI-RS compiler for StyleX](https://github.com/Dwlad90/stylex-swc-plugin/tree/
|
|
55
|
+
* [NAPI-RS compiler for StyleX](https://github.com/Dwlad90/stylex-swc-plugin/tree/develop/crates/stylex-rs-compiler)
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAA0D,MAAM,QAAQ,CAAC;AAK7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAI5D,MAAM,MAAM,aAAa,GAAG;IAC1B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC;CACnF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,SAAc,EACd,QAAuB,EACvB,YAAoB,EACpB,mBAAmB,GACpB,GAAE,aAAkB,GAAG,MAAM,CAiG7B"}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = stylexPlugin;
|
|
6
7
|
const rs_compiler_1 = __importDefault(require("@stylexswc/rs-compiler"));
|
|
7
8
|
const lightningcss_1 = require("lightningcss");
|
|
8
9
|
const browserslist_1 = __importDefault(require("browserslist"));
|
|
@@ -85,4 +86,3 @@ function stylexPlugin({ rsOptions = {}, fileName = 'stylex.css', useCSSLayers =
|
|
|
85
86
|
},
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
|
-
exports.default = stylexPlugin;
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stylexswc/rollup-plugin",
|
|
3
3
|
"description": "Stylex rollup plugin with NAPI-RS compiler",
|
|
4
|
-
"version": "0.4.1
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"config": {
|
|
6
6
|
"scripty": {
|
|
7
7
|
"path": "../../scripts/packages"
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@stylexjs/babel-plugin": "0.
|
|
12
|
-
"@stylexswc/rs-compiler": "0.4.1
|
|
11
|
+
"@stylexjs/babel-plugin": "^0.9.3",
|
|
12
|
+
"@stylexswc/rs-compiler": "0.4.1",
|
|
13
13
|
"lightningcss": "^1.27.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@types/node": "22.
|
|
16
|
+
"@types/node": "^22.5.1",
|
|
17
17
|
"browserslist": "^4.24.2",
|
|
18
|
-
"rollup": "^4.
|
|
18
|
+
"rollup": "^4.25.0"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
21
|
"dist"
|