Skip to content

nassosyian/boilerplate-babel-webpack-glslify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boilerplate-babel-webpack

npm version downloads count dependencies

🍴 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

Features

  • ✅ 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.

Getting started

You can start in two ways:

Use Git

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

How to build the application?

npm install
npm run build

Your source will be minified.

How to develop the application?

npm install
npm run dev

Remove generated directory

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

Count LOC (Lines of Code)

If you would like to know how many lines of code you write:

npm run count

Analysis of bundle file weight

If you would like to check how much a bundle file weight:

npm run audit

License

The MIT License @ 2017

Releases

No releases published

Packages

No packages published