It's a simple repo with webpack.config.js
that has comments for easier understanding and reference.
yarn install && yarn start
yarn add -D webpack-dev-server webpack webpack-cli
webpack 4.x | babel-loader 8.x | babel 7.x
yarn add -D babel-loader @babel/core @babel/preset-env webpack
yarn add -D style-loader css-loader
The sass-loader requires webpack as a peerDependency and it requires you to install either Node Sass or Dart Sass on your own.
yarn add -D sass-loader node-sass webpack
Allows to import images into our JS files
yarn add -D file-loader