File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,23 @@ export default defineBuildConfig({
1111 input : './src/vue' ,
1212 outDir : './dist/vue' ,
1313 } ,
14+ {
15+ type : 'transform' ,
16+ input : './src/utils' ,
17+ outDir : './dist/utils' ,
18+ } ,
1419 {
1520 type : 'bundle' ,
16- input : './src/react/index.ts' ,
21+ input : [
22+ './src/react/index.ts' ,
23+ './src/react/components/MDC.tsx' ,
24+ './src/react/components/MDCRenderer.tsx' ,
25+ './src/react/components/index.tsx' ,
26+ './src/react/components/stream.tsx' ,
27+ './src/react/components/prose/ProsePre.tsx' ,
28+ './src/react/components/prose/ProsePreShiki.tsx' ,
29+ ] ,
1730 outDir : './dist' ,
18- name : 'react/index' ,
1931 } ,
2032 ] ,
2133} )
Original file line number Diff line number Diff line change 1919 "./vue" : " ./dist/vue/index.mjs" ,
2020 "./vue/*" : " ./dist/vue/*.mjs" ,
2121 "./react" : " ./dist/react/index.mjs" ,
22+ "./react/*" : " ./dist/react/*.mjs" ,
2223 "./stream" : " ./dist/stream.mjs"
2324 },
2425 "main" : " ./dist/index.mjs" ,
You can’t perform that action at this time.
0 commit comments