ESBuild 0.17 deprecated watch, rebuild, and broke my program! (And why I hate JS dependencies 😡)
Winston Codes On Winston Codes On
1.99K subscribers
1,224 views
0

 Published On Jan 20, 2023

esbuild release 0.17 came out a few days ago and has some breaking changes to the watch(), rebuild(), and serve() functions, which of course broke my stonks program. Deprecations within JS packages like this are annoying and make maintaining your existing code a real pain in the...

Source code link (must be a Patreon member to access):
https://github.com/wakproductions-pat...
  / winstonkotzan  

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

0:00 JS dependency updates = lost productivity
1:19 node-sass deprecation broke the existing version of the program
4:15 esbuild old code with watch()
6:21 esbuild 0.17 breakage explained
8:02 Their migration guide is missing some features
9:53 Using onStart() and onEnd() with plugin to replace rebuild()
10:16 Overview of my updated code


Background Music:
Purple Motion - Assembly '94 Invitation

show more

Share/Embed