RoyalUr.net
RoyalUr.net copied to clipboard
Better system for combining CSS and JS files
Currently we define how to create every target CSS and JS file through long, repetitive lists in compilation.json
. It would be better to have a system like imports so we could do that within the source files instead of having to do it all in compilation.json
.
Would this be resolved by https://github.com/Sothatsit/RoyalUrClient/issues/167 ?
Would this be resolved by #167 ?
I think #167 would definitely be a step towards this, as it seems like it would be a good way to organise it. Although, I'm going to focus on the JavaScript for #167 first, as it's the bigger problem for now. I've made some good progress towards it, although there is still a way to go.
I made the decision to switch to TypeScript, which is taking a lot longer than I expected, unfortunately... However, I think I am making steady progress toward improving the codebase.
My current big goals are:
- Switch codebase to TypeScript
- Reduce the current reliance on many global variables
- Webpack to build all assets (JS/CSS/HTML)
- Tests!