Compare commits

...

1 Commits

Author SHA1 Message Date
Carlos Valente 805478f141 refactor: target chrome 89 2025-01-28 17:22:38 +01:00
3 changed files with 1452 additions and 34 deletions
+2
View File
@@ -68,6 +68,7 @@
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "catalog:",
"@typescript-eslint/parser": "catalog:",
"@vitejs/plugin-legacy": "^6.0.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
@@ -81,6 +82,7 @@
"ontime-utils": "workspace:*",
"prettier": "catalog:",
"sass": "^1.57.1",
"terser": "^5.37.0",
"typescript": "catalog:",
"vite": "^5.2.11",
"vite-plugin-compression2": "^1.3.3",
+2
View File
@@ -1,4 +1,5 @@
import { sentryVitePlugin } from '@sentry/vite-plugin';
import legacy from '@vitejs/plugin-legacy';
import react from '@vitejs/plugin-react';
import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vite';
@@ -32,6 +33,7 @@ export default defineConfig({
excludeReplayWorker: true,
},
}),
legacy({ targets: ['chrome >= 89'] }),
compression({
algorithm: 'brotliCompress',
exclude: /\.(html)$/, // Ontime cloud: Exclude HTML files from compression so we can change the base property at runtime
+1448 -34
View File
File diff suppressed because it is too large Load Diff