remove dynamic vue created in ts

This commit is contained in:
锦恢 2025-06-04 19:23:51 +08:00
parent 528ab45280
commit 1c3724f2ed
3 changed files with 6 additions and 11 deletions

View File

@ -248,7 +248,6 @@
"@types/pako": "^2.0.3",
"@types/showdown": "^2.0.0",
"@types/vscode": "^1.72.0",
"@vitejs/plugin-vue": "^5.2.4",
"copy-webpack-plugin": "^13.0.0",
"fork-ts-checker-webpack-plugin": "^9.1.0",
"null-loader": "^4.0.1",

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,7 @@
import { defineConfig } from 'vite';
import { resolve } from 'path';
import { viteStaticCopy } from 'vite-plugin-static-copy';
import { visualizer } from 'rollup-plugin-visualizer';
import vue from '@vitejs/plugin-vue';
// import { visualizer } from 'rollup-plugin-visualizer';
export default defineConfig({
define: {
@ -14,9 +13,6 @@ export default defineConfig({
},
},
plugins: [
vue({
isProduction: true
}),
viteStaticCopy({
targets: [
{
@ -25,10 +21,10 @@ export default defineConfig({
}
]
}),
visualizer({
open: true,
filename: 'stats.html'
})
// visualizer({
// open: true,
// filename: 'stats.html'
// })
],
build: {
target: 'node18',