15 lines
294 B
Go
15 lines
294 B
Go
//go:build !dev
|
|
|
|
package frontend
|
|
|
|
import "embed"
|
|
|
|
// Vite emits shared chunks beginning with underscores. The default recursive
|
|
// embed walk excludes those files, breaking dynamic imports in release builds.
|
|
//go:embed all:dist/*
|
|
var assets embed.FS
|
|
|
|
func Assets() embed.FS {
|
|
return assets
|
|
}
|