CyberChef/babel.config.js

33 lines
768 B
JavaScript
Raw Normal View History

2024-02-25 16:31:23 -05:00
module.exports = function (api) {
api.cache.forever();
return {
"presets": [
2024-02-25 16:31:23 -05:00
[
"@babel/preset-env",
{
"modules": false,
"useBuiltIns": "entry",
"corejs": 3
}
]
],
"plugins": [
"dynamic-import-node",
2022-03-25 14:59:54 +00:00
"@babel/plugin-syntax-import-assertions",
2019-03-30 14:56:43 +00:00
[
2024-02-25 16:31:23 -05:00
"babel-plugin-transform-builtin-extend",
{
"globals": ["Error"]
}
2019-03-30 14:56:43 +00:00
],
[
2024-02-25 16:31:23 -05:00
"@babel/plugin-transform-runtime",
{
"regenerator": true
}
]
]
};
};