My project has the following structure:
- components/
index.css
- header/
index.css
- B2B/
index.css
- shared/
- menu/
index.css
- subcomponents/
subMenuList.module.css
menuList.module.css
- B2B/
index.css
- shared/
- menu/
index.css
- subcomponents/
subMenuList.module.css
menuList.module.css
For specific project reasons, the subMenu List.module.css file (B2B and B2C) contains styles that are identical to each other. The menuList.module.css file contains a slight variation: color: var(--primary-color) and color: var(--secondary-color).
In the build, getJSON passes through the components/header/B2C/shared/menu/subcomponents/subMenuList.module.css file, but not through components/header/B2B/shared/menu/subcomponents/subMenuList.module.css. This same behavior does not happen with components/header/[B2C|B2B]/shared/menu/subcomponents/menuList.module.css, the behavior I expect from all files. Is this a desired behavior for the build process or is it a bug?
My project has the following structure:
index.css
index.css
index.css
index.css
subMenuList.module.css
menuList.module.css
index.css
index.css
subMenuList.module.css
menuList.module.css
For specific project reasons, the subMenu List.module.css file (B2B and B2C) contains styles that are identical to each other. The menuList.module.css file contains a slight variation: color: var(--primary-color) and color: var(--secondary-color).
In the build, getJSON passes through the components/header/B2C/shared/menu/subcomponents/subMenuList.module.css file, but not through components/header/B2B/shared/menu/subcomponents/subMenuList.module.css. This same behavior does not happen with components/header/[B2C|B2B]/shared/menu/subcomponents/menuList.module.css, the behavior I expect from all files. Is this a desired behavior for the build process or is it a bug?