ESBuild 0.17 deprecated watch, rebuild, and broke my program! (And why I hate JS dependencies 😡)

Опубликовано: 20 Январь 2023
на канале: Winston Codes On
1,374
34

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


Смотрите видео ESBuild 0.17 deprecated watch, rebuild, and broke my program! (And why I hate JS dependencies 😡) онлайн без регистрации, длительностью online в хорошем качестве. Это видео добавил пользователь Winston Codes On 20 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,374 раз и оно понравилось 34 людям.