fix(play): apply esbuild plugin to tsx component (#14480)

This commit is contained in:
btea 2023-10-09 16:45:40 +08:00 committed by GitHub
parent 8281fa983c
commit fd7f4df020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ import './vite.init'
const esbuildPlugin = (): Plugin => ({ const esbuildPlugin = (): Plugin => ({
...esbuild({ ...esbuild({
target: 'chrome64', target: 'chrome64',
include: /\.vue$/,
loaders: { loaders: {
'.vue': 'js', '.vue': 'js',
}, },