mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 18:25:30 +00:00
41 lines
940 B
Text
41 lines
940 B
Text
{
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"useBuiltIns": "entry",
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 Chrome versions",
|
|
"last 2 ChromeAndroid versions",
|
|
"last 2 Safari versions",
|
|
"last 2 Firefox versions",
|
|
"last 2 Edge versions",
|
|
"last 2 iOS versions",
|
|
"last 2 Opera versions"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"@babel/preset-react",
|
|
"@babel/preset-typescript"
|
|
],
|
|
"plugins": [
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
"@babel/plugin-proposal-class-properties"
|
|
],
|
|
"env": {
|
|
"test": {
|
|
"plugins": [
|
|
"@babel/plugin-transform-modules-commonjs",
|
|
"@babel/plugin-syntax-dynamic-import"
|
|
]
|
|
},
|
|
"library": {
|
|
"plugins": ["@babel/plugin-transform-runtime"]
|
|
},
|
|
"production": {
|
|
"plugins": ["@babel/plugin-syntax-dynamic-import"]
|
|
}
|
|
}
|
|
}
|