Extwee 1.5.0
Changes:
- Various bug fixes
- A robust set of Mocha + Istanbul test for over 90% code coverage.
Additions:
- DirectoryReader
Extwee now has a -r
option that will recursively read a directory for CSS, JS, and Twee files. Combined with the built-in -o
option, this will build a HTML file based on a directory instead of a single Twee file.
- DirectoryWatcher
Extwee now has a -w
option that will watch a directory for any file additions or changes. If it detects any, DirectoryReader will be used to process and auto-build the set -o
output after any change.
- Babel Processing
When watching a directory, all JS files will be processed by Babel, transpiling any ES6 into ES5.
- UglyJS Processing
When watching a directory, all JS files will be post-processed by UglyJS, minifying ES5 code.
- CleanCSS Processing
When watching a directory, all CSS files will be "cleaned" by CleanCSS, minifying and optimizing any CSS code.