Warning text

This commit is contained in:
Nifty255 2026-03-02 03:35:32 +09:00
commit b52071122d

View file

@ -188,6 +188,8 @@ func AssertFrontendDist(cwd string, buildOptions *Options) error {
}
}
pterm.Warning.Printf(`Frontend directory %q is not embedded by your application. Is this intentional? Attempting to copy built frontend assets to "frontend/dist"`, buildOptions.ProjectData.GetFrontendDir())
// Try to find an embed that ends with "frontend/dist" and copy to that.
for _, embedDetail := range embedDetails {
if embedDetail.EmbedPath == "frontend/dist" {