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 e610f98 commit 0960987Copy full SHA for 0960987
playground/vue-jsx-ts-built-in/vite.config.js
@@ -1,15 +1,15 @@
1
import { defineConfig } from 'vite'
2
import vueJsxPlugin from '@vitejs/plugin-vue-jsx'
3
import vuePlugin from '@vitejs/plugin-vue'
4
-import babelPluginSyntaxTypescript from '@babel/plugin-syntax-decorators'
+import babelPluginSyntaxDecorators from '@babel/plugin-syntax-decorators'
5
6
export default defineConfig({
7
plugins: [
8
vueJsxPlugin({
9
tsTransform: 'built-in',
10
babelPlugins: [
11
[
12
- babelPluginSyntaxTypescript,
+ babelPluginSyntaxDecorators,
13
// to test decorators we use only method decorators
14
// they have the same syntax in 'legacy' and in '2023-11'
15
{ version: '2023-11' },
0 commit comments