by fabiancook · 3y ago · 0 comments
https://github.com/virtualstate/promise/blob/main/scripts/co...
https://github.com/virtualstate/focus/blob/main/scripts/corr...
https://github.com/virtualstate/navigation/blob/main/scripts...
This same script was replicated to near every repository I have worked on, including making its way into a few different production services where Node.js + ESM was used for deployment
Eventually I had turned into a utility module that could be used wider, which starts to lean into import map generation
https://github.com/virtualstate/impack#usage
You can see it being used here as a function, but can be used as a cli tool too:
https://github.com/virtualstate/listen/blob/033bf8effcbde5c8...
No comments yet.