Go to file
Paul Graffam 2fba979793 Set paths to local 2016-10-06 23:11:58 -04:00
build/public Initial commit 2016-09-12 15:54:07 -04:00
src Set paths to local 2016-10-06 23:11:58 -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 Updated packages and node, set Three and Tween to working versions, updated scripts 2016-10-06 23:07:17 -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.