Eduard Kuzmenko
4 years ago
20 changed files with 3213 additions and 45749 deletions
@ -1,7 +1,41 @@
@@ -1,7 +1,41 @@
|
||||
module.exports = { |
||||
presets: [ |
||||
['@babel/preset-env', {targets: {node: 'current'}}], |
||||
'@babel/preset-typescript', |
||||
]/* , |
||||
plugins: ["@babel/plugin-syntax-dynamic-import"] */ |
||||
const config2 = { |
||||
"presets": [ |
||||
"@babel/preset-typescript", |
||||
|
||||
[ |
||||
"@babel/preset-env", |
||||
{ |
||||
"modules": false, |
||||
"corejs": 3, |
||||
"useBuiltIns": "usage", |
||||
//"include": ["es.promise.finally"],
|
||||
"targets": { |
||||
"chrome": "56" |
||||
} |
||||
} |
||||
], |
||||
|
||||
//"@babel/preset-2015"
|
||||
], |
||||
"plugins": [ |
||||
["@babel/plugin-proposal-class-properties", { "loose": true }], |
||||
["@babel/plugin-transform-typescript", { |
||||
"allowNamespaces": true |
||||
}] |
||||
] |
||||
}; |
||||
|
||||
const config3 = { |
||||
"presets": [ |
||||
"@babel/preset-env", |
||||
"@babel/preset-typescript" |
||||
], |
||||
"plugins": [ |
||||
"@babel/plugin-proposal-class-properties", |
||||
["@babel/plugin-transform-typescript", { |
||||
"allowNamespaces": true |
||||
}] |
||||
] |
||||
}; |
||||
|
||||
module.exports = config2; |
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in new issue