[vite] Change legacy browse target to `since 2015`

pull/1773/head
Louis Lam 2 years ago
parent 0223f86a2a
commit 8f1e193de3

@ -14,8 +14,7 @@ export default defineConfig({
plugins: [ plugins: [
vue(), vue(),
legacy({ legacy({
targets: [ "ie > 11" ], targets: [ "since 2015" ],
additionalLegacyPolyfills: [ "regenerator-runtime/runtime" ]
}), }),
visualizer({ visualizer({
filename: "tmp/dist-stats.html" filename: "tmp/dist-stats.html"

Loading…
Cancel
Save