mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
feat: Add vite legacy plugin to provide polyfills for older browsers
This commit is contained in:
parent
75ed749172
commit
dab63ba8b6
|
@ -1,3 +1,2 @@
|
||||||
> 1%
|
defaults and fully supports es6-module
|
||||||
last 2 versions
|
maintained node versions
|
||||||
not ie <= 8
|
|
||||||
|
|
|
@ -94,6 +94,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": "^6.0.0",
|
||||||
"@vitest/coverage-v8": "catalog:frontend",
|
"@vitest/coverage-v8": "catalog:frontend",
|
||||||
"miragejs": "^0.1.48",
|
"miragejs": "^0.1.48",
|
||||||
"unplugin-icons": "^0.19.0",
|
"unplugin-icons": "^0.19.0",
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
|
import legacy from '@vitejs/plugin-legacy';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
import { defineConfig, mergeConfig } from 'vite';
|
import { defineConfig, mergeConfig } from 'vite';
|
||||||
|
|
||||||
|
@ -54,6 +55,7 @@ const plugins = [
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
vue(),
|
vue(),
|
||||||
|
legacy(),
|
||||||
];
|
];
|
||||||
|
|
||||||
const { RELEASE: release } = process.env;
|
const { RELEASE: release } = process.env;
|
||||||
|
|
1531
pnpm-lock.yaml
1531
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue