This is a variation on Web Project Template for WebGL.
npm install
gulp
// or
npm start
- compiles
index.hbs
toindex.html
for development - compiles runtime
.hbs
files to.js
- compiles
.scss
to nested.css
- runs watchers for changes to above files
- serves the public folder with BrowserSync and injects CSS or reloads on HTML / JS changes
gulp --dist
// or
npm run build
- compiles
index.hbs
toindex.html
for production - compiles runtime
.hbs
files to.js
- compiles
.scss
to compressed.css
- compiles all Javascript to
main.min.js