CyberChef/babel.config.js
LanYunDev 286836d183
Update Dependencies.
Improve compatibility with higher versions of nodejs.
2024-12-18 23:32:01 +08:00

27 lines
727 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-proposal-import-attributes-to-assertions", { "deprecatedAssertSyntax": true }],
[
"babel-plugin-transform-builtin-extend", {
"globals": ["Error"]
}
],
[
"@babel/plugin-transform-runtime", {
"regenerator": true
}
]
]
};
};