feat: support inlining FRESH_PUBLIC_ env vars (#3214)
Fixes https://github.com/denoland/fresh/issues/3213
This commit is contained in:
@@ -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_",
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user