File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change
1
+ swc_plugin_unassert.wasm
2
+ .swc /
3
+
1
4
/target
2
5
^target /
3
6
target
Original file line number Diff line number Diff line change 13
13
" assert" ,
14
14
" unassert"
15
15
],
16
- "main" : " target/wasm32-wasi/release/swc_plugin_unassert.wasm" ,
16
+ "main" : " ./swc_plugin_unassert.wasm" ,
17
+ "files" : [
18
+ " swc_plugin_unassert.wasm" ,
19
+ " src" ,
20
+ " Cargo.toml" ,
21
+ " package.json"
22
+ ],
17
23
"scripts" : {
18
- "prepublishOnly" : " cargo build-wasi --release"
24
+ "build" : " npm run build:release && npm run build:cp" ,
25
+ "build:cp" : " cp ./target/wasm32-wasi/release/swc_plugin_unassert.wasm ./swc_plugin_unassert.wasm" ,
26
+ "build:release" : " cargo build-wasi --release" ,
27
+ "test" : " cargo test"
19
28
},
20
- "files" : [],
21
29
"preferUnplugged" : true
22
30
}
You can’t perform that action at this time.
0 commit comments