yak-swc 8.0.3 → 9.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yak-swc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "next-yak rust based swc plugin to compile styled components at build time",
|
|
5
5
|
"homepage": "https://yak.js.org/",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,9 @@
|
|
|
36
36
|
"name": "Jan Nicklas"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
|
-
"build": "
|
|
39
|
+
"build": "pnpm build:yak && pnpm build:playground",
|
|
40
|
+
"build:yak": "RUSTFLAGS=\"--cfg swc_ast_unknown\" cargo build -p yak_swc --release --target=wasm32-wasip1",
|
|
41
|
+
"build:playground": "cargo build -p playground-wasm --release --target=wasm32-unknown-unknown",
|
|
40
42
|
"prettier": "cargo fmt --all",
|
|
41
43
|
"test": "cargo test",
|
|
42
44
|
"test:snapshots": "cd yak_swc && UPDATE=1 cargo test"
|
|
Binary file
|