From 7c00e5e046cbb001ceca3f3bbaf01413d286b256 Mon Sep 17 00:00:00 2001 From: Antonio Anaya Date: Sun, 15 Feb 2026 01:19:17 -0600 Subject: [PATCH] ui_migration lint(fix): update and deleted old vite configuration files and html index --- webapp/public/old.index.html | 17 ----------------- webapp/vite.config.mjs | 8 ++++++++ webapp/vue.config.js | 3 --- 3 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 webapp/public/old.index.html delete mode 100644 webapp/vue.config.js diff --git a/webapp/public/old.index.html b/webapp/public/old.index.html deleted file mode 100644 index 375edb52..00000000 --- a/webapp/public/old.index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - OpenFlexure Microscope - - - -
- - - diff --git a/webapp/vite.config.mjs b/webapp/vite.config.mjs index 0d27d57f..a963336b 100644 --- a/webapp/vite.config.mjs +++ b/webapp/vite.config.mjs @@ -23,6 +23,14 @@ export default defineConfig({ }, }), ], + + build: { + // Output directory for production builds + outDir: "../src/openflexure_microscope_server/static", + // Clear output directory before build + emptyOutDir: true, + }, + resolve: { alias: { // Use Vue 2 compatible build. diff --git a/webapp/vue.config.js b/webapp/vue.config.js deleted file mode 100644 index f9104d3a..00000000 --- a/webapp/vue.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - outputDir: "../src/openflexure_microscope_server/static", -};