mirror of
https://github.com/captbaritone/webamp
synced 2024-11-23 08:39:15 +00:00
42 lines
940 B
Plaintext
42 lines
940 B
Plaintext
{
|
|
"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"]
|
|
}
|
|
}
|
|
}
|