Good morning everyone. For quite some time now, I have been working on the development of several portals with a new folder structure. I am attaching an image as an example.
Technically, everything works correctly, except that I am experiencing some issues during development because Bud seems very slow during compilation and HMR.
Each individual SCSS file related to a component uses mixins internally, so initially, I imported my app file at the top of each SCSS file, which included global styles, utilities, mixins, etc. Later, I used bud.sass.importGlobal
to use common resources across the entire application, and then within Bud, I had:
const components_entries = await app.glob("@src/views/components/**/*.{js,ts,scss}")
With both solutions, I encountered significant slowness as mentioned earlier. Additionally, I noticed that when inspecting the page, a series of <style></style>
tags are injected in the head, I’ll say one for each component created.
What am I doing wrong? Have I missed something?
Thank you in advance for the support