ui/imports: fix asset imports

This commit is contained in:
Johannes Kirschbauer
2025-09-04 19:02:24 +02:00
parent 30d9c86015
commit 42bbd7c5fd
5 changed files with 19 additions and 16 deletions

View File

@@ -30,6 +30,7 @@ export default defineConfig({
"@": path.resolve(__dirname, "./"), // Adjust the path as needed
},
},
base: "./",
optimizeDeps: {
include: ["debug", "extend"],
},
@@ -48,7 +49,18 @@ export default defineConfig({
},
build: {
target: "safari11",
modulePreload: false,
// assetsDi
manifest: true,
// Inline everything: TODO
// Detect file:///assets requests and point to the correct directory in webview
rollupOptions: {
output: {
format: "iife",
// entryFileName: ""
// inlineDynamicImports: true,
},
},
// assetsInlineLimit: 0,
},
});