how to compile files by babel with preset-env code example Example: install babel command line npm i -D @babel/core @babel/preset-env babel-loader