-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91e8ea1
commit 3978367
Showing
10 changed files
with
56 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
let modules = process.env.MODULES || false; | ||
if (modules === 'esm' || modules === 'false') modules = false; | ||
|
||
module.exports = { | ||
presets: [['@babel/preset-env', { modules, loose: true }]], | ||
presets: [['@babel/preset-env', { modules: false, loose: true }]], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
let modules = process.env.MODULES || false; | ||
if (modules === 'esm' || modules === 'false') modules = false; | ||
|
||
module.exports = { | ||
presets: ['@babel/preset-react', ['@babel/preset-env', { modules, loose: true }]], | ||
presets: ['@babel/preset-react', ['@babel/preset-env', { modules: false, loose: true }]], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
let modules = process.env.MODULES || false; | ||
if (modules === 'esm' || modules === 'false') modules = false; | ||
|
||
module.exports = { | ||
presets: [['@babel/preset-env', { modules, loose: true }]], | ||
presets: [['@babel/preset-env', { modules: false, loose: true }]], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
let modules = process.env.MODULES || false; | ||
if (modules === 'esm' || modules === 'false') modules = false; | ||
|
||
module.exports = { | ||
presets: [['@babel/preset-env', { modules, loose: true }]], | ||
presets: [['@babel/preset-env', { modules: false, loose: true }]], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters