We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b93b6 commit 28578eaCopy full SHA for 28578ea
esbuild.mjs
@@ -56,7 +56,7 @@ let result = await esbuild.build({
56
sourcemap: process.env.NODE_ENV === "production" || false,
57
metafile: true,
58
define: {
59
- 'import.meta.env.ENVIRONMENT': JSON.stringify(process.env.ENVIRONMENT),
+ 'import.meta.env.ENVIRONMENT': JSON.stringify(process.env.ENVIRONMENT ?? "dev"),
60
}
61
});
62
0 commit comments