gulp-web/README.md

27 lines
437 B
Markdown
Raw Normal View History

2020-05-01 14:30:14 +00:00
## Build Directory
Default build directory is `./build`. To change edit `gulpfile.js`.
2020-05-01 17:53:06 +00:00
## Implemented
2020-05-01 14:30:14 +00:00
* JS transpilation, minification with Babel, Terser.
* SASS compilation, css minification.
2020-05-19 14:58:29 +00:00
* Mustache templating
2020-05-01 14:30:14 +00:00
* BrowserSync.
2020-05-01 17:53:06 +00:00
## TODO
* Image optomisation.
2020-05-19 14:58:29 +00:00
## Mustache Templates
Include a template with:
```
{{> templates/example}}
```
Templates are relative to the HTML file and the `.mustache` extension must be
ommitted.