File tree Expand file tree Collapse file tree 6 files changed +600
-72
lines changed Expand file tree Collapse file tree 6 files changed +600
-72
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ console.log(scriptBlockContents)
75
75
// })
76
76
```
77
77
78
+ If you are using ` mkdist ` , ` vue-sfc-transformer ` exports a loader you can use:
79
+
80
+ ``` ts
81
+ import { vueLoader } from ' vue-sfc-transformer/mkdist'
82
+ ```
83
+
78
84
## 💻 Development
79
85
80
86
- Clone this repository
Original file line number Diff line number Diff line change 8
8
"repository" : " nuxt-contrib/vue-sfc-transformer" ,
9
9
"sideEffects" : false ,
10
10
"exports" : {
11
- "." : " ./dist/index.mjs"
11
+ "." : " ./dist/index.mjs" ,
12
+ "./mkdist" : " ./dist/mkdist.mjs"
12
13
},
13
14
"main" : " ./dist/index.mjs" ,
14
15
"module" : " ./dist/index.mjs" ,
15
16
"typesVersions" : {
16
17
"*" : {
17
- "* " : [
18
+ ". " : [
18
19
" ./dist/index.d.mts"
20
+ ],
21
+ "./*" : [
22
+ " ./dist/*"
19
23
]
20
24
}
21
25
},
50
54
"@antfu/eslint-config" : " latest" ,
51
55
"@babel/types" : " ^7.27.0" ,
52
56
"@types/babel__generator" : " ^7.27.0" ,
57
+ "@types/node" : " ^22.14.0" ,
53
58
"@vitest/coverage-v8" : " latest" ,
54
59
"@vue/compiler-dom-types" : " npm:@vue/compiler-dom@^3.5.13" ,
55
60
"bumpp" : " latest" ,
60
65
"installed-check" : " latest" ,
61
66
"knip" : " latest" ,
62
67
"lint-staged" : " latest" ,
68
+ "mkdist" : " ^2.2.0" ,
63
69
"simple-git-hooks" : " latest" ,
64
70
"typescript" : " latest" ,
65
71
"unbuild" : " latest" ,
You can’t perform that action at this time.
0 commit comments