Our team is facing an issue with styling when using a combination of React, Bootstrap, and Tailwind. The problem arises when linking our micro frontend to modules that use Tailwind, as the Bootstrap styles persist despite the change. Since both Tailwind and Bootstrap have similar class names but different options, we are encountering conflicts in our styling. Specifically, the _utilities.scss file from Bootstrap is being included in Webpack even after excluding node_modules from the config.
If anyone has experience with this issue and knows of a solution, please share. The path for the problematic scss file is: webpack://./node_modules/bootstrap/scss/mixins/_utilities.scss https://i.sstatic.net/nrFbh.png
Here is my webpack configuration for excluding node_modules:
module: { rules: [ { test: /.(js|ts|tsx)$/, exclude: /node_modules/, use: { loader: 'ts-loader', }, },