-
Notifications
You must be signed in to change notification settings - Fork 236
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
f1f1001
commit ff38f6d
Showing
6 changed files
with
13,150 additions
and
10,769 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,3 +2,6 @@ last 2 versions | |
ie 8 | ||
ie 9 | ||
iOS 9 | ||
|
||
[node] | ||
node 18 |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* Babel config | ||
* | ||
* @type {import('@babel/core').ConfigFunction} | ||
*/ | ||
module.exports = function (api) { | ||
const browserslistEnv = !api.env('test') | ||
? 'production' | ||
: 'node' | ||
|
||
const presets = [ | ||
['@babel/preset-env', { | ||
browserslistEnv | ||
}] | ||
] | ||
|
||
return { | ||
presets | ||
} | ||
} |
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
Oops, something went wrong.