-
Notifications
You must be signed in to change notification settings - Fork 82
feat(css): add bundleAllCSS option to control CSS asset inclusion in exposed modules #347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@gioboa please review. |
b75d5a6 to
fc82810
Compare
gioboa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, can you add the documentation for this prop in the README please?
done |
…exposed modules * Added `bundleAllCSS` option to `ModuleFederationOptions` and `NormalizedModuleFederationOptions` interfaces * Updated manifest plugin to conditionally include all CSS assets in exports based on `bundleAllCSS` setting * Added tests to verify default and explicit `bundleAllCSS` option behavior * Updated `cssModuleHelpers.test.ts` to import `normalizeModuleFederationOptions` and mock `bundleAllCSS` option * Added new test suite in `cssModuleHelpers.test.ts` to validate `bundleAllCSS` option handling * Updated `normalizeModuleFederationOption.test.ts` to include `bundleAllCSS`, `getPublicPath`, and `publicPath` in expected default values
|
@gioboa tests are passing now. |
gioboa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @pcfreak30 💪
bundleAllCSSoption toModuleFederationOptionsandNormalizedModuleFederationOptionsinterfacesbundleAllCSSsettingbundleAllCSSoption behaviorcssModuleHelpers.test.tsto importnormalizeModuleFederationOptionsand mockbundleAllCSSoptioncssModuleHelpers.test.tsto validatebundleAllCSSoption handlingnormalizeModuleFederationOption.test.tsto includebundleAllCSS,getPublicPath, andpublicPathin expected default valuesClose #337