Skip to content

Commit

Permalink
feat(editor): Drop support for legacy browsers that do not have nativ…
Browse files Browse the repository at this point in the history
…e ESM support (#6239)
  • Loading branch information
netroy authored May 15, 2023
1 parent 2a20a19 commit 9182d15
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 49 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"@ngneat/falso": "^6.1.0",
"@types/jest": "^29.5.0",
"@types/supertest": "^2.0.12",
"@vitejs/plugin-legacy": "^3.0.1",
"@vitejs/plugin-vue2": "^2.2.0",
"@vitest/coverage-c8": "^0.28.5",
"c8": "^7.12.0",
Expand Down
8 changes: 1 addition & 7 deletions packages/editor-ui/vite.config.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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) {
Expand Down
53 changes: 12 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9182d15

Please sign in to comment.