🐛 Fixed tab and multi-window issues

This commit is contained in:
2025-10-23 19:07:11 +08:00
parent 87fea58102
commit 61a23fe7f2
6 changed files with 108 additions and 200 deletions

View File

@@ -17,16 +17,16 @@ export default defineConfig(({mode}: { mode: string }): object => {
plugins: [
vue(),
nodePolyfills({
include: [],
include: ['process','fs','crypto','stream','vm'],
exclude: [],
// Whether to polyfill specific globals.
globals: {
Buffer: true, // can also be 'build', 'dev', or false
Buffer: false, // can also be 'build', 'dev', or false
global: true,
process: true,
},
// Whether to polyfill `node:` protocol imports.
protocolImports: true,
protocolImports: false,
}),
Components({
dts: true,