babel build code example
Example 1: install babel command line
npm i -D @babel/core @babel/preset-env babel-loader
Example 2: install babel core
npm install --save-dev @babel/core
npm i -D @babel/core @babel/preset-env babel-loader
npm install --save-dev @babel/core