Skip to content

kasparsz/static-website-starter

Repository files navigation

rollup.js + Bublé + SASS + PostCSS + Nunjucks starter

This repo serves as simple static website starter.

Stack

Getting started

Installing

  • fork this repo
  • clone your fork
  • npm install to install all dependencies
  • npm start to start a dev server

Running the 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

Build files using npm run production

Output folder

Files are compiled into public/ folder.

Output folder can be changed in package.json by changing "output" property

"config": {
    "output": "public",
    "port": "8080"
}

License

MIT