build: 更新 @vitejs/plugin-legacy 插件配置,关闭 polyfills
This commit is contained in:
@@ -22,6 +22,7 @@ export default defineConfig({
|
||||
envPrefix: 'V_ENV_',
|
||||
plugins: [
|
||||
legacy({
|
||||
polyfills: false,
|
||||
renderLegacyChunks: true,
|
||||
renderModernChunks: true,
|
||||
targets: ['defaults', 'not IE 11'],
|
||||
|
Reference in New Issue
Block a user