We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71a4bd8 commit fa25c30Copy full SHA for fa25c30
playground/tsconfig.json
@@ -9,7 +9,7 @@
9
"noUncheckedSideEffectImports": true
10
},
11
"vueCompilerOptions": {
12
- "plugins": ["./volar.cjs"]
+ "plugins": ["../dist/volar"]
13
14
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
15
}
src/volar.ts
@@ -27,3 +27,4 @@ const plugin: VueLanguagePlugin = ({ vueCompilerOptions }) => {
27
28
// eslint-disable-next-line import/no-default-export
29
export default plugin
30
+export { plugin as 'module.exports' }
0 commit comments