We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ea0ec5 commit 1344294Copy full SHA for 1344294
packages/plugin-vue/src/main.ts
@@ -249,8 +249,11 @@ export async function transformMain(
249
resolvedCode,
250
filename,
251
{
252
- loader: 'ts',
253
target: 'esnext',
+ // #430 support decorators in .vue file
254
+ // target can be overridden by esbuild config target
255
+ ...options.devServer?.config.esbuild,
256
+ loader: 'ts',
257
sourcemap: options.sourceMap,
258
},
259
resolvedMap,
0 commit comments