Add vite-plugin-legacy, update browserslist

This commit is contained in:
Elias Meire 2024-11-06 09:40:17 +01:00
parent 19d55da4ad
commit 25cbcb327d
No known key found for this signature in database
4 changed files with 1410 additions and 124 deletions

View file

@ -1,3 +1,3 @@
> 1%
last 2 versions
not ie <= 8
defaults
>0.5% in US
>0.5% in alt-EU

View file

@ -92,6 +92,7 @@
"@types/lodash-es": "^4.17.6",
"@types/luxon": "^3.2.0",
"@types/uuid": "catalog:",
"@vitejs/plugin-legacy": "^5.4.3",
"@vitest/coverage-v8": "catalog:frontend",
"cross-env": "^7.0.3",
"miragejs": "^0.1.48",

View file

@ -6,6 +6,7 @@ import { vitestConfig } from '../design-system/vite.config.mts';
import icons from 'unplugin-icons/vite';
import iconsResolver from 'unplugin-icons/resolver';
import components from 'unplugin-vue-components/vite';
import legacy from '@vitejs/plugin-legacy';
const publicPath = process.env.VUE_APP_PUBLIC_PATH || '/';
@ -54,6 +55,7 @@ const plugins = [
],
}),
vue(),
legacy(),
];
const { RELEASE: release } = process.env;

File diff suppressed because it is too large Load diff