A webpack boilerplate using Babel, PostCSS and Sass.
Clone this repo and npm install.
npm inpm run serveYou can view the development server at localhost:3000.
npm run buildwebpack- Module and asset bundler.webpack-cli- Command line interface for webpackwebpack-dev-server- Development server for webpack
@babel/core- Transpile ES6+ to backwards compatible JavaScript@babel/cli- A CLI used to compile files from the command line.@babel/preset-env- Smart defaults for Babel
babel-loader- Transpile files with Babel and webpacksass-loader- Load SCSS and compile to CSSsass- Node Sass
postcss-loader- Process CSS with PostCSSpostcss-preset-env- Sensible defaults for PostCSS
css-loader- Resolve CSS importsstyle-loader- Inject CSS into the DOM
mini-css-extract-plugin- Extract CSS into separate filesautoprefixer- A PostCSS plugin which parses your CSS and adds vendor prefixespostcss-import- PostCSS plugin to transform @import rules by inlining content.