Skip to content

Commit

Permalink
Update packages/migrate-config/src/migrate-config.js
Browse files Browse the repository at this point in the history
Co-authored-by: Milos Djermanovic <[email protected]>
  • Loading branch information
nzakas and mdjermanovic committed May 28, 2024
1 parent a2e2d57 commit 02ebd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/migrate-config/src/migrate-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ function createLanguageOptions(migration, config) {
}

// For `env` we will need to the `globals` package
if (config.env) {
if (config.env && Object.keys(config.env).some(name => !name.startsWith("es"))) {
imports.set("globals", {
name: "globals",
added: true,
Expand Down

0 comments on commit 02ebd95

Please sign in to comment.