[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: [
vue(),
legacy({
targets: [ "ie > 11" ],
additionalLegacyPolyfills: [ "regenerator-runtime/runtime" ]
targets: [ "since 2015" ],
}),
visualizer({
filename: "tmp/dist-stats.html"