fix: admin panel loading
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user