feat(editor): Drop support for legacy browsers that do not have native ESM support (#6239)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-15 12:11:36 +00:00
committed by GitHub
parent 2a20a19dc0
commit 9182d1558a
3 changed files with 13 additions and 49 deletions

View File

@@ -1,5 +1,4 @@
import vue from '@vitejs/plugin-vue2';
import legacy from '@vitejs/plugin-legacy';
import path, { resolve } from 'path';
import { defineConfig, mergeConfig } from 'vite';
import { defineConfig as defineVitestConfig } from 'vitest/config';
@@ -72,12 +71,7 @@ const alias = [
},
];
const plugins = [
vue(),
legacy({
targets: ['>1%', 'last 3 versions', 'not dead'],
}),
];
const plugins = [vue()];
const { SENTRY_AUTH_TOKEN: authToken, RELEASE: release } = process.env;
if (release && authToken) {