more code
This commit is contained in:
1 parent
f24fd63e9a
commit
ee72257c64
29 files changed
+5636
-440
No files matched your search
+7
-1
@@ -20,7 +20,13 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
// The Go binary embeds the console via //go:embed all:dist in
|
||||
// internal/web/web.go, so the build has to land there rather than in
|
||||
// web/dist: a bundle nobody embeds is a console nobody can load.
|
||||
outDir: '../internal/web/dist',
|
||||
emptyOutDir: true,
|
||||
sourcemap: false,
|
||||
// Hashed asset names let the server cache them immutably.
|
||||
assetsDir: 'assets',
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user