I want to use something like this instead and cut out the middle man. Gulp is nice but it's a dependency and a complication most Twine games don't benefit from. Also CleanCSS is way better than PostCSS, the latter is way too complicated for it's own good.
The changes would be:
Get rid of gulp in favor of a simpler build script.
Move options to root of directory and flatten/simplify them.
Use Terser (+ Babel) and CleanCSS.
FS-Jetpack? (Pros: atomic writes and simplified sync API, cons: it's an extra dep we don't really need)
I want to use something like this instead and cut out the middle man. Gulp is nice but it's a dependency and a complication most Twine games don't benefit from. Also CleanCSS is way better than PostCSS, the latter is way too complicated for it's own good.
The changes would be: