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", -};