npm i babel-jest @babel/core @babel/preset-env -D # or yarn add --dev babel-jest @babel/core @babel/preset-env
// babel.config.js module.exports = { presets: [['@babel/preset-env', {targets: {node: 'current'}}]], };
← 起步