Consider using Wireit to coordinate npm scripts #1438
Replies: 1 comment 1 reply
-
I'm all for making the build simpler, but I'm always cautious to lean into libraries/apps because it's another layer of abstraction that can make things tricky to maintain later on. The current build has evolved quite a bit since early on, and even more now with the shift to 11ty. We're leaning on their dev server to handle incremental builds (for speed) and our own BrowserSync implementation to watch for changes. It's a bit of a frankenstein, but it's working reliably now. I'm not sure we want to invest even more time in underpinnings now that the big changes have shipped, but let's talk about it and consider this (or even just refactoring/simplifying what's already there) for a cooldown task. |
Beta Was this translation helpful? Give feedback.
-
Just a suggestion, but looking at the npm scripts and the Node scripts they run, I think Wireit would help a lot in coordinating scripts and caching their results, which should make builds faster and more repeatable for both local development and on CI. I could possibly completely eliminate the need for
scripts/build.js
Specifically, Wireit can help:
makeIcons
,makeReact
, etc scriptsIf you decided to go this way, I could help getting things set up.
Beta Was this translation helpful? Give feedback.
All reactions