mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-06 14:37:11 -04:00
32 lines
763 B
JavaScript
32 lines
763 B
JavaScript
module.exports = function (api) {
|
|
api.cache.forever();
|
|
|
|
return {
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
modules: false,
|
|
useBuiltIns: "entry",
|
|
corejs: 3,
|
|
},
|
|
],
|
|
],
|
|
plugins: [
|
|
"dynamic-import-node",
|
|
"@babel/plugin-syntax-import-assertions",
|
|
[
|
|
"babel-plugin-transform-builtin-extend",
|
|
{
|
|
globals: ["Error"],
|
|
},
|
|
],
|
|
[
|
|
"@babel/plugin-transform-runtime",
|
|
{
|
|
regenerator: true,
|
|
},
|
|
],
|
|
],
|
|
};
|
|
};
|