Code Splitting and Module Loading with Rollup
I’ve been messing about with Svelte, and it’s kinda awesome, except for the part about not having something like Vue CLI. In keeping with the Svelte theme, the Svelte templates for Rollup and Webpack are…svelte. Spartan might be a better word. You get the Svelte, the whole Svelte, and nothing but the Svelte.
I hadn’t realized how spoiled I’d become with the Vue CLI until I tried to make artisanal, hand-crafted build code for the first time in a year. It turns out my gag reflex is still healthy and intact.
Ah, my trusty tile cannon. It has been blasting tiles at screens for Mecklenburg since 2012 with such reliability and blazing performance that I sometimes write its uptime stats on a rolled newspaper and use it to beat my Esri-using colleagues when AGS goes down.
Naturally, I had to rewrite it.
One thing about JavaScript that I wouldn’t put in The Good Parts is how it handles array sorting.