Accelerated ES6 JavaScript Course Project: local development setup with babel and webpack
Course: Accelerated ES6 JavaScript Training by Maximilian Schwarzmüller
This project was forked from https://github.com/wbkd/webpack-starter
npm install
npm run dev
npm run build
- ES6 Support via babel-loader
- SASS Support via sass-loader
- Linting via eslint-loader
When running npm run build
the extract-text-webpack-plugin is used to move the css to a separate file and included in the head of the index.html
, so that the styles are applied before any javascript gets loaded. This function is disabled for the dev version, because the loader doesn't support hot module replacement.