A baseline toolkit to ease the building of static HTML sites or templated CMS builds. Using Webpack 4, Gulp, PostCSS, Nunjunks and BrowserSync.
- HTML - Build templates with Nunjucks
- CSS - SCSS syntax and PostCSS-cssnext - "Use tomorrowβs CSS syntax, today" including autoprefixing and fallbacks
- JS - Bundle and transpile ES6 JavaScript with Webpack and Babel
- Assets - Automatically optimise images, manage fonts and static assets
- Development - Live reload with BrowserSync and Webpack's HMR.
- Node.js
- npm
git clone https://github.com/davshoward/sparklemuffin <my-project-name>
cd <my-project-name>
npm install
npm start
npm run build
Customise your own file paths within gulpfile.js/config.js
Welcome any improvements or suggestions :-)