fix: fix embed

This commit is contained in:
Ash Keel 2022-11-25 19:07:11 +01:00
parent fbcbf78ab9
commit e4d2eecb55
No known key found for this signature in database
GPG Key ID: BAD8D93E7314ED3E
2 changed files with 4 additions and 1 deletions

View File

@ -4,4 +4,7 @@ import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
plugins: [tsconfigPaths(), react()],
build: {
emptyOutDir: false,
},
});

View File

@ -30,7 +30,7 @@ const databaseDefaultDriver = "pebble"
var appVersion = "v0.0.0-UNKNOWN"
//go:embed frontend/dist/*
//go:embed frontend/dist
var frontend embed.FS
type ModuleConstructor = func(manager *modules.Manager) error