vite-plugin-legacy
vite-plugin-legacy copied to clipboard
Vite-generated legacy bundles
I am trying to use this plugin with Astro, but I get this error: ```js 08:00:16 PM [build] output target: static 08:00:16 PM [build] Collecting build info... 08:00:16 PM [build]...
Unhandled promise rejection TypeError: strict 模式下不允许访问函数或参数对象的“caller”属性 code: ` legacy({ targets: [ 'ie >= 11' ] }) `
It works for IE11, How to support ie9 when building?
My config: ```es6 import { defineConfig } from 'vite' import legacyPlugin from 'vite-plugin-legacy' // https://vitejs.dev/config/ export default defineConfig({ plugins: [ legacyPlugin({ // The browsers that must be supported by your...