[vite] Change legacy browse target to since 2015

This commit is contained in:
Louis Lam 2022-06-15 19:02:55 +08:00
parent 0223f86a2a
commit 8f1e193de3

View File

@ -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"