Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit ee93eea

Browse files
committed
Initial commit for the unforget SWC plugin
1 parent bc5561a commit ee93eea

File tree

27 files changed

+4444
-3
lines changed

27 files changed

+4444
-3
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ yarn-error.log*
3636
# Misc
3737
.DS_Store
3838
*.pem
39+
40+
# Rust
41+
target/

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"plugins": ["prettier-plugin-tailwindcss"]
2+
"plugins": ["prettier-plugin-tailwindcss"]
33
}

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
{
22
"version": "1.0.0",
33
"configurations": [
4+
{
5+
"type": "lldb",
6+
"request": "launch",
7+
"name": "Debug integration test 'fixture'",
8+
"cargo": {
9+
"args": [
10+
"test",
11+
"--no-run",
12+
"--test=fixture",
13+
"--package=react_unforget_transform"
14+
],
15+
"filter": {
16+
"name": "fixture",
17+
"kind": "test"
18+
}
19+
},
20+
"args": [],
21+
"cwd": "${workspaceFolder}",
22+
"env": {
23+
"CARGO_MANIFEST_DIR": "${workspaceFolder}/packages/swc-plugin/transform"
24+
}
25+
},
426
{
527
"type": "node",
628
"request": "launch",

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib"
3-
}
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"rust-analyzer.linkedProjects": ["./Cargo.toml"]
4+
}

0 commit comments

Comments
 (0)