I’m looking to create a Webpack plugin to help my team improve our compilation process. Or, at least what I think is the correct term, “webpack plugin”.
Im fairly familiar with Webpack in terms of plugging existing things together (Babel, SCSS, React, Vue), etc), not much so in making my own though.
What I would like to do at a high-level:
I feel like I just need pointed in the right direction to start, I feel like I’m close to understanding.
Specifically relating to Drupal, I just want to create dynamic library definitions based on JavaScript and Twig found in my “component” directories. Haven’t come across an existing solution yet.