abhijithvijayan / web-extension-starter

🖥🔋Web Extension starter to build "Write Once Run on Any Browser" extension
MIT License
2.01k stars 171 forks source link

issue with sass files with same names imported directly to ts components #19

Closed abhijithvijayan closed 4 years ago

abhijithvijayan commented 4 years ago
WARNING in Conflict: Multiple assets emit different content to the same filename css/styles.css

When styles.scss is imported directly to index.tsx in each of the components, it replaces the initial build file with the following build file causing missing styles.

---Component_A/
   |
   index.tsx
   |
   styles.scss

---Component_B/
   |
   index.tsx
   |
   styles.scss

CRA handles this nice and smooth without any duplication.