I use JavaScript modules to organize my JS code. I use Rollup.js to package and minify these for distribution to reduce HTTP requests and transfer size, and to provide support for older browsers. So in development I’m using the modules directly and in production I’m using the built files. I was looking for a good way to have some extra code in for development purposes, but removing it for production. This could be used for a lot of things, including testing some code that runs on certain dates for dates other than the current one. I didn’t find a way to do this built in to Rollup, but there is an official plugin called Strip that allows removing specific labelled statements.
Continue reading post "Rollup Strip plugin for dev code"tool posts
Deploying updates to my site with a composer lock file seemed slower since updating to version 2, so maybe it isn’t faster in some circumstances.
I see that composer has released its 2.0 version. Nice.
Finalish Joe estate sales and auctions
This past weekend and tomorrow had and are having some of the last sales of my Uncle Joe’s estate: estate sale, art auction, and weapon auction.
Continue reading post "Finalish Joe estate sales and auctions"This weekend saw more movement on my Uncle’s estate, with the third estate sale and second art auction.
Continue reading post "#2881"I’ve been using cssnano for compressing my CSS on some projects recently. Apparently, it rebases z-index values, ie reduces them to the minimum values that have the same stacking context within the file.
Cool tool for choosing from various easings and getting their CSS transition cubic-bezier values (if applicable): easings.net.