123456789101112131415161718192021222324252627 |
- 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
- }
- ]
- ]
- };
- };
|