ui_migration lint(fix): update and deleted old vite configuration files and html index

This commit is contained in:
Antonio Anaya 2026-02-15 01:19:17 -06:00
parent ce19ea3fc0
commit 7c00e5e046
3 changed files with 8 additions and 20 deletions

View file

@ -1,17 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>OpenFlexure Microscope</title>
</head>
<body>
<noscript>
<strong>We're sorry but vue3 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

View file

@ -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: { resolve: {
alias: { alias: {
// Use Vue 2 compatible build. // Use Vue 2 compatible build.

View file

@ -1,3 +0,0 @@
module.exports = {
outputDir: "../src/openflexure_microscope_server/static",
};