mirror of
https://github.com/gchq/CyberChef.git
synced 2024-09-04 10:41:34 +02:00
33 lines
817 B
JavaScript
33 lines
817 B
JavaScript
module.exports = function(api) {
|
|
api.cache.forever();
|
|
|
|
return {
|
|
"presets": [
|
|
["@babel/preset-env", {
|
|
"targets": {
|
|
"chrome": 40,
|
|
"firefox": 35,
|
|
"edge": 14,
|
|
"node": "6.5"
|
|
},
|
|
"modules": false,
|
|
"useBuiltIns": "entry",
|
|
"corejs": 3
|
|
}]
|
|
],
|
|
"plugins": [
|
|
"babel-plugin-syntax-dynamic-import",
|
|
[
|
|
"babel-plugin-transform-builtin-extend", {
|
|
"globals": ["Error"]
|
|
}
|
|
],
|
|
[
|
|
"@babel/plugin-transform-runtime", {
|
|
"regenerator": true
|
|
}
|
|
]
|
|
]
|
|
};
|
|
};
|