From 0b172694afaeb0351a643440cb9218aa9699fc72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Thu, 7 Jul 2022 16:33:12 +0200 Subject: [PATCH] Clean useless const --- site/vite.config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/site/vite.config.ts b/site/vite.config.ts index af3e4a688..b1ab4cf30 100644 --- a/site/vite.config.ts +++ b/site/vite.config.ts @@ -11,10 +11,6 @@ import { defineConfig, loadEnv, Plugin } from 'vite' import { VitePWA } from 'vite-plugin-pwa' import shimReactPdf from 'vite-plugin-shim-react-pdf' -const HOUR = 60 * 60 -const DAY = HOUR * 24 -const YEAR = DAY * 365 - const env = (mode: string) => loadEnv(mode, process.cwd(), '') export default defineConfig(({ command, mode }) => ({