feat: support inlining FRESH_PUBLIC_ env vars (#3214)

Fixes https://github.com/denoland/fresh/issues/3213
This commit is contained in:
Marvin Hagemeister
2025-08-12 12:00:59 +02:00
committed by GitHub
parent d026375c3e
commit 477fcefed4
8 changed files with 227 additions and 195 deletions
+5 -1
View File
@@ -84,7 +84,11 @@ export async function bundleJs(
preactDebugger(PREACT_ENV),
buildIdPlugin(options.buildId),
windowsPathFixer(),
denoPlugin({ preserveJsx: true, debug: false }),
denoPlugin({
preserveJsx: true,
debug: false,
publicEnvVarPrefix: "FRESH_PUBLIC_",
}),
],
});