Go to file
Paul Graffam af6d73cca1 Initial commit 2016-09-12 15:54:07 -04:00
build/public Initial commit 2016-09-12 15:54:07 -04:00
src Initial commit 2016-09-12 15:54:07 -04:00
.eslintrc Initial commit 2016-09-12 15:54:07 -04:00
.gitignore Initial commit 2016-09-12 15:54:07 -04:00
README.md Initial commit 2016-09-12 15:54:07 -04:00
package.json Initial commit 2016-09-12 15:54:07 -04:00
webpack.config.js Initial commit 2016-09-12 15:54:07 -04:00

README.md

Three.js Webpack ES6 Boilerplate

A basic boilerplate for a Three.js project including the use of Webpack and ES6 syntax via Babel.

Getting started

npm install

Then

npm run dev

Spins up a webpack dev server at localhost:8080 and keeps track of all js and sass changes to files and reloads upon save.

Build

npm run build

Cleans existing build folder while linting js and copies over the public folder from src. Then sets environment to production and compiles js and css into build.