This weekend I had the unenviable task of creating a mostly static website at the last minute.
The site needed to look nice and have some basic functionality, so I wanted to use LESS CSS and the more modern ES6+ version of JavaScript.
I knew I’d have to maintain this code for a while afterward, so I had to make sure that I could:
- Run a simple local test server
- Automatically compile LESS to CSS whenever I saved a change
- Convert ES6+ JavaScript to backwards-compatible ES5
I actually write mostly-static websites like this fairly often, so I created a boilerplate GitHub repo. Feel free to use it if you find it helpful!
Hat tip to Jeff Whelpley for his feedback.