mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-02 22:21:01 +01:00
27 lines
634 B
JavaScript
27 lines
634 B
JavaScript
module.exports = function(api) {
|
|
api.cache.forever();
|
|
|
|
return {
|
|
"presets": [
|
|
["@babel/preset-env", {
|
|
"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
|
|
}
|
|
]
|
|
]
|
|
};
|
|
};
|