🍴 Starter with Babel.js and Webpack
this was originally based on https://github.com/fazeaction/webpack-threejs-boilerplate and https://github.com/piecioshka/boilerplate-babel-webpack
- ✅ Webpack v4.29.6
- ✅ Babel v7.3.4
- ✅ Support syntax ES2015 & ES2016 & ES2017 & ES2018
- ✅ Static directory:
static/
- ✅ Source Map of bundle file.
- ✅ Analysis of bundle file weight.
You can start in two ways:
mkdir PROJECT_NAME
cd $_ # Note: "$_" is last argument of previous command
git init # Note: branch "master" is created
git remote add boilerplate git@github.com:nassosyian/boilerplate-babel-webpack-glslify.git
git pull boilerplate master
git remote remove boilerplate
npm install
npm run build
Your source will be minified.
npm install
npm run dev
If you would like to remove dist/
directory (created by Webpack):
npm run clear
If you would like to remove node_modules/
and remove dist/
npm run clear:all
If you would like to know how many lines of code you write:
npm run count
If you would like to check how much a bundle file weight:
npm run audit
The MIT License @ 2017