File tree Expand file tree Collapse file tree 3 files changed +2
-28
lines changed
examples/react/apollo-client-swc-plugin
packages/presets/swc-plugin Expand file tree Collapse file tree 3 files changed +2
-28
lines changed Original file line number Diff line number Diff line change 5
5
"moduleResolution" : " Node" ,
6
6
"allowSyntheticDefaultImports" : true
7
7
},
8
- "include" : [" vite.config.ts " ]
8
+ "include" : [" vite.config.mts " ]
9
9
}
File renamed without changes.
Original file line number Diff line number Diff line change 9
9
" graphql-codegen" ,
10
10
" preset-client"
11
11
],
12
- "main" : " dist/cjs/index.js " ,
12
+ "main" : " swc_plugin.wasm " ,
13
13
"scripts" : {
14
14
"build-wasm" : " cargo build --target wasm32-wasi --release && cp target/wasm32-wasi/release/swc_plugin.wasm ./" ,
15
15
"debug" : " cargo build --target wasm32-wasi && cp target/wasm32-wasi/debug/swc_plugin.wasm ./"
27
27
" swc_plugin.wasm"
28
28
],
29
29
"type" : " module" ,
30
- "module" : " dist/esm/index.js" ,
31
- "typings" : " dist/typings/index.d.ts" ,
32
- "typescript" : {
33
- "definition" : " dist/typings/index.d.ts"
34
- },
35
- "exports" : {
36
- "." : {
37
- "require" : {
38
- "types" : " ./dist/typings/index.d.cts" ,
39
- "default" : " ./dist/cjs/index.js"
40
- },
41
- "import" : {
42
- "types" : " ./dist/typings/index.d.ts" ,
43
- "default" : " ./dist/esm/index.js"
44
- },
45
- "default" : {
46
- "types" : " ./dist/typings/index.d.ts" ,
47
- "default" : " ./dist/esm/index.js"
48
- }
49
- },
50
- "./package.json" : " ./package.json"
51
- },
52
- "publishConfig" : {
53
- "directory" : " dist" ,
54
- "access" : " public"
55
- },
56
30
"engines" : {
57
31
"node" : " >=16"
58
32
}
You can’t perform that action at this time.
0 commit comments