Skip to content

Commit

Permalink
fix: apply env check also to eager imports (fix #1423)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jan 11, 2024
1 parent 5d63057 commit 20674a7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ function getCodePageConfigsSerialized(
const configValueSource = sources[0]
assert(configValueSource)
if (!configValueSource.configEnv.eager) return
if (!isRuntimeEnvMatch(configValueSource.configEnv, { isForClientSide, isClientRouting, isEager: true })) return
lines.push(
...serializeConfigValueImported(
configValueSource,
Expand Down

0 comments on commit 20674a7

Please sign in to comment.