mirror of
https://github.com/thedevs-network/kutt-extension.git
synced 2026-02-03 13:53:23 +00:00
42 lines
951 B
Plaintext
42 lines
951 B
Plaintext
{
|
|
"presets": [
|
|
[
|
|
// Latest stable ECMAScript features
|
|
"@babel/preset-env",
|
|
{
|
|
"useBuiltIns": false,
|
|
// Do not transform modules to CJS
|
|
"modules": false,
|
|
"targets": {
|
|
"chrome": "49",
|
|
"firefox": "52",
|
|
"opera": "36",
|
|
"edge": "79"
|
|
}
|
|
}
|
|
],
|
|
"@babel/typescript",
|
|
"@babel/react"
|
|
],
|
|
"plugins": [
|
|
["@babel/plugin-proposal-class-properties"],
|
|
["@babel/plugin-transform-destructuring", {
|
|
"useBuiltIns": true
|
|
}],
|
|
["@babel/plugin-proposal-object-rest-spread", {
|
|
"useBuiltIns": true
|
|
}],
|
|
[
|
|
// Polyfills the runtime needed for async/await and generators
|
|
"@babel/plugin-transform-runtime",
|
|
{
|
|
"helpers": false,
|
|
"regenerator": true
|
|
}
|
|
],
|
|
// Support for twin.macro
|
|
"babel-plugin-macros",
|
|
// https://git.io/JJUrL
|
|
"@babel/plugin-transform-react-jsx"
|
|
]
|
|
} |