Skip to content

Commit 7c2930b

Browse files
Merge pull request #158 from equinor/dependabot/npm_and_yarn/gui/vitejs/plugin-legacy-7.2.1
chore(deps-dev): bump @vitejs/plugin-legacy from 6.1.1 to 7.2.1 in /gui
2 parents 1105db2 + 9383c82 commit 7c2930b

4 files changed

Lines changed: 269 additions & 166 deletions

File tree

gui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@types/plotly.js-dist-min": "^2.3.4",
4545
"@types/uuid": "^8.3.4",
4646
"@typescript-eslint/parser": "^8.35.1",
47-
"@vitejs/plugin-legacy": "^6.0.0",
47+
"@vitejs/plugin-legacy": "^7.2.1",
4848
"@vitejs/plugin-vue": "^5.2.1",
4949
"@vue/eslint-config-prettier": "^10.2.0",
5050
"@vue/eslint-config-standard": "^9.0.1",

gui/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"allowJs": true,
55
"target": "esnext",
6-
"module": "esnext",
6+
"module": "ES2022",
77
"strict": true,
88
"forceConsistentCasingInFileNames": true,
99
"noUnusedLocals": true,
@@ -12,7 +12,7 @@
1212
"jsxImportSource": "vue",
1313
"emitDecoratorMetadata": true,
1414
"importHelpers": true,
15-
"moduleResolution": "node",
15+
"moduleResolution": "bundler",
1616
"experimentalDecorators": true,
1717
"esModuleInterop": true,
1818
"strictPropertyInitialization": false, // https://github.com/kaorun343/vue-property-decorator/issues/81

gui/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export default defineConfig({
1212
plugins: [
1313
legacy({
1414
renderModernChunks: false,
15+
targets: [
16+
'chrome >= 69', // RMS 14.2 uses Chromium 69
17+
],
1518
}),
1619
vue(),
1720
vuetify({
@@ -28,9 +31,6 @@ export default defineConfig({
2831
},
2932
},
3033
envPrefix: ['VUE_', 'NODE_'],
31-
build: {
32-
target: 'es2015',
33-
},
3434
server: {
3535
proxy: /* CODESPACE_NAME? */ {
3636
// eslint-disable-next-line @typescript-eslint/naming-convention

0 commit comments

Comments
 (0)