mikavilpas / squanmate

Square-1 trainer, analysis and general learning tool
17 stars 4 forks source link

Publish to GitHub sites? #42

Open mikavilpas opened 6 years ago

mikavilpas commented 6 years ago

Is it worth it?

mikavilpas commented 6 years ago

At work I have learned to use Webpack, which has really cool features that can be used to implement a more managed deployment. I think in would be possible to use Leiningen to build the project like it's done right now, and then do a "production build" with Webpack.

It should allow fingerprinting the final compiled javascript and css, and even build a new static html page that loads them both. This way all cache problems would be nonexistent, and it would allow using for example the url squanmate.github.io that would always load the newest version of the app.

I'm still letting my hands heal as much as possible from my RSI injury at the moment, so I have no good estimate of how long it might take to implement this.