Sunday 27 September 2020

Here's a gist: write to file using webpack

Suppose you want to upload multiple versions of your software to a static file server for beta releases. It would be useful to have one file named 'latest' to always know the name of the latest available download, easily retrieved by `curl /download/latest`.​Here's a small gist that'll let you create that file as part of the webpack build process<br> <br> Submitted September 27, 2020 at 04:05PM by tjgrinn

No comments:

Post a Comment