Trying to understand how assets are delivered because I’m running into a weird inconsistency.
I have 2 different page templates, and two different bud entry points that seem to be configured correctly. Both entry points use it’s own scss.
When I run yarn build and browse the site, both template A and B load the correct, updated styles as css links in the head, as expected.
When I run yarn dev and browse the site, template A loads the most updated styles and updates as i make them. Template B does not load any of the styles at all. Template A does not have a css link in the head, i assume they are somehow being injected into the DOM.
I’m confused as to why it’s happening both ways at the same time with seemingly similar configuration and I’m not sure what else to look for. Any insight would be appreciated.
Awesome!!! I think this is working now! Thanks so much, I really appreciate your help. What if i wanted to add multiple files though, like CSS & JS, in addition a JS dependency? Are you able to do that with this method as well?