File tree 4 files changed +20
-15
lines changed
4 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 26
26
"import" : " ./dist/codemirror-editor.js" ,
27
27
"require" : null
28
28
},
29
+ "./core" : {
30
+ "types" : " ./dist/core.d.ts" ,
31
+ "import" : " ./dist/core.js" ,
32
+ "require" : null
33
+ },
29
34
"./package.json" : " ./package.json" ,
30
35
"./style.css" : " ./dist/vue-repl.css" ,
31
36
"./dist/style.css" : " ./dist/vue-repl.css"
Original file line number Diff line number Diff line change
1
+ export {
2
+ useStore ,
3
+ File ,
4
+ type SFCOptions ,
5
+ type StoreState ,
6
+ type Store ,
7
+ type ReplStore ,
8
+ } from './store'
9
+ export { useVueImportMap , mergeImportMap , type ImportMap } from './import-map'
10
+ export { compileFile } from './transform'
11
+ export { version as languageToolsVersion } from '@vue/language-service/package.json'
Original file line number Diff line number Diff line change 1
- export { default as Repl } from './Repl.vue'
1
+ export { default as Repl , type Props as ReplProps } from './Repl.vue'
2
2
export { default as Preview } from './output/Preview.vue'
3
- export { default as Sandbox } from './output/Sandbox.vue'
4
- export type { SandboxProps } from './output/Sandbox.vue'
5
- export {
6
- useStore ,
7
- File ,
8
- type SFCOptions ,
9
- type StoreState ,
10
- type Store ,
11
- type ReplStore ,
12
- } from './store'
13
- export { useVueImportMap , mergeImportMap , type ImportMap } from './import-map'
14
- export { compileFile } from './transform'
15
- export type { Props as ReplProps } from './Repl.vue'
3
+ export { default as Sandbox , type SandboxProps } from './output/Sandbox.vue'
16
4
export type { OutputModes } from './types'
17
- export { version as languageToolsVersion } from '@vue/language-service/package.json '
5
+ export * from './core '
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export default mergeConfig(base, {
57
57
lib : {
58
58
entry : {
59
59
'vue-repl' : './src/index.ts' ,
60
+ core : './src/core.ts' ,
60
61
'monaco-editor' : './src/editor/MonacoEditor.vue' ,
61
62
'codemirror-editor' : './src/editor/CodeMirrorEditor.vue' ,
62
63
} ,
You can’t perform that action at this time.
0 commit comments