fix: admin panel loading

This commit is contained in:
3252a8
2026-05-21 10:43:55 +03:00
parent db3611487e
commit b3f67a5398
4 changed files with 116 additions and 33 deletions
+6 -1
View File
@@ -19,7 +19,12 @@ export default defineConfig(({ mode }) => {
$components: path.resolve(__dirname, "src/lib/components"),
},
},
plugins: [tailwindcss(), svelte()],
plugins: [
tailwindcss(),
svelte({
compilerOptions: isAdminBuild ? { compatibility: { componentApi: 4 } } : {},
}),
],
build: {
outDir: templateDir,
emptyOutDir: false,