The goal is to have a repository to manage your Webpack and front-end tools whilst letting Hubspot its repository manage all theme files (modules, pages etc).
Both sides will ignore each others files (except for Webpack it's output)
A summary of tools that are used in this Webpack setup:
**JS modules that use or enable:**r
webpack::build | builds your frontend
webpack::watch | builds your frontend, then watches for changes and reruns
webpack::debugging | builds your frontend, then watches for changes and reruns in development mode
Ouput is located in ./yourHubspotProjectName/Dist
You can then link the files in that directory as dependencies on your modules / pages in hubspot