From baa7c7d18fa183d7282e3bedcc4d3ac96ff20bec Mon Sep 17 00:00:00 2001 From: SevLG Date: Tue, 19 Mar 2024 13:49:52 +0100 Subject: [PATCH] Something went wrong with the kubernetes deployment after switching to Vite. Tried some solutions and seems to be working on a local k8s cluster currently. Trying to push again --- pmp-frontend-app/vite.config.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pmp-frontend-app/vite.config.ts b/pmp-frontend-app/vite.config.ts index 5a33944..71f4665 100644 --- a/pmp-frontend-app/vite.config.ts +++ b/pmp-frontend-app/vite.config.ts @@ -1,7 +1,12 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], -}) + assetsInclude: [ + "**/*.JPG", + "**/*.PNG" + ], + base: "./", +}); \ No newline at end of file