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