From b52071122df00f965a084e45180fa941c0d298ae Mon Sep 17 00:00:00 2001 From: Nifty255 Date: Mon, 2 Mar 2026 03:35:32 +0900 Subject: [PATCH] Warning text --- v2/pkg/commands/build/build.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2/pkg/commands/build/build.go b/v2/pkg/commands/build/build.go index 0e16fc44a..cc6ec5437 100644 --- a/v2/pkg/commands/build/build.go +++ b/v2/pkg/commands/build/build.go @@ -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" {