babel webpack node code example
Example 1: webpack babel config
npm install -D babel-loader @babel/core @babel/preset-env webpack
Example 2: babel and webpack
yarn add --dev webpack @babel/core babel-loader @babel/preset-env node-sass css-loader sass-loader style-loader postcss-loader autoprefixer