This repo serves as simple static website starter.
- Nunjucks for templates
- SASS + PostCSS (autoprefixer) for stylesheets with source maps
- rollup.js + Bublé + eslint for ES6 javascript with source maps
forkthis repocloneyour forknpm installto install all dependenciesnpm startto start a dev server
After you have installed all dependencies run npm start (aliases npm run development and npm run watch) to start local server which will watch for files changes and then rebuild and reload.
Build files using npm run production
Files are compiled into public/ folder.
Output folder can be changed in package.json by changing "output" property
"config": {
"output": "public",
"port": "8080"
}