Skip to content

Commit 071b4c5

Browse files
add also node_env
1 parent 37dd5c9 commit 071b4c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/registry/routes/helpers/get-component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ export default function getComponent(conf: Config, repository: Repository) {
691691
fetch: globalThis?.fetch,
692692
process: {
693693
env: {
694+
NODE_ENV: conf.local ? 'development' : 'production',
694695
...conf.env,
695696
...env
696697
}

0 commit comments

Comments
 (0)