fix(editor): Update vite legacy-plugin browser target (no-changelog) (#5952)

fix(editor-ui): Update vite legacy-plugin browser target (no-changelog)

Currently the generated `polyfills-legacy-*.js` has a md5sum that conflicts with some known malware, which is making n8n instances being incorrectly marked as malware.

Changing the browserlist target changes the browser coverage from [88.3%](https://browsersl.ist/#q=defaults) to [88.2%](https://browsersl.ist/#q=%3E1%25%2Clast+3+versions%2Cnot+dead), and changes the md5sum from `
7bbe04e33326032f3bf00ac7685bfccb` to `457638e9318cc92d88d45730c81724e4`.
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-04-11 17:55:36 +02:00 committed by GitHub
parent c236d5d049
commit 7119bde029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ if (NODE_ENV === 'test') {
const plugins = [
vue(),
legacy({
targets: ['defaults', 'not IE 11'],
targets: ['>1%', 'last 3 versions', 'not dead'],
}),
monacoEditorPlugin({
publicPath: 'assets/monaco-editor',