Open utterances-bot opened 1 month ago
Very interesting article, thank you for this huge work. I would like to see/know how to handle a more complex javascript setup, with some global behaviour and with components that use external JS libs... :-)
Thanks for the feedback @denis-bertrand-be. As you can imagine, there are several ways to accomplish what you are asking about. One way I usually do this is by downloading third party libraries locally and then reference them from the target components. I typically create Drupal libraries for the third party libraries to be able to use them within Drupal.
Automating your Drupal Front-end with ViteJS - Mario Hernandez
If you are searching for the next front-end build tool for your Drupal project, or any project, you should try ViteJS.
https://mariohernandez.io//blog/automating-your-drupal-front-end-with-vitejs/