mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
Add vite-plugin-legacy, update browserslist
This commit is contained in:
parent
19d55da4ad
commit
25cbcb327d
|
@ -1,3 +1,3 @@
|
||||||
> 1%
|
defaults
|
||||||
last 2 versions
|
>0.5% in US
|
||||||
not ie <= 8
|
>0.5% in alt-EU
|
||||||
|
|
|
@ -92,6 +92,7 @@
|
||||||
"@types/lodash-es": "^4.17.6",
|
"@types/lodash-es": "^4.17.6",
|
||||||
"@types/luxon": "^3.2.0",
|
"@types/luxon": "^3.2.0",
|
||||||
"@types/uuid": "catalog:",
|
"@types/uuid": "catalog:",
|
||||||
|
"@vitejs/plugin-legacy": "^5.4.3",
|
||||||
"@vitest/coverage-v8": "catalog:frontend",
|
"@vitest/coverage-v8": "catalog:frontend",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"miragejs": "^0.1.48",
|
"miragejs": "^0.1.48",
|
||||||
|
|
|
@ -6,6 +6,7 @@ import { vitestConfig } from '../design-system/vite.config.mts';
|
||||||
import icons from 'unplugin-icons/vite';
|
import icons from 'unplugin-icons/vite';
|
||||||
import iconsResolver from 'unplugin-icons/resolver';
|
import iconsResolver from 'unplugin-icons/resolver';
|
||||||
import components from 'unplugin-vue-components/vite';
|
import components from 'unplugin-vue-components/vite';
|
||||||
|
import legacy from '@vitejs/plugin-legacy';
|
||||||
|
|
||||||
const publicPath = process.env.VUE_APP_PUBLIC_PATH || '/';
|
const publicPath = process.env.VUE_APP_PUBLIC_PATH || '/';
|
||||||
|
|
||||||
|
@ -54,6 +55,7 @@ const plugins = [
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
vue(),
|
vue(),
|
||||||
|
legacy(),
|
||||||
];
|
];
|
||||||
|
|
||||||
const { RELEASE: release } = process.env;
|
const { RELEASE: release } = process.env;
|
||||||
|
|
1525
pnpm-lock.yaml
1525
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue