You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
supports style resolution in package.json and test it + test support loader usage
Summary
🤖 Generated by Copilot at 15e1e2a
This pull request improves the support for style modules and assets in webpack by adding new resolution properties and updating the test cases. It modifies the lib/config/defaults.js file to define and apply the new properties, and the test/configCases/css/css-import files to import and test different style modules.
Details
🤖 Generated by Copilot at 15e1e2a
Add styleResolutionDefaults object to define common properties for resolving style modules (link)
Test the cascading effect of css imports by importing style-import.css in style.css (link)
The text was updated successfully, but these errors were encountered:
I'll let you use best judgement here, I think the key detail to document with this feature is that using experiments.css means that styles will be added as a resolvable main field.
If possible it would be fantastic to leverage the test case examples to call out examples in the docs. <3 @burhanuday I'd appreciate if you could assist if @chenxsan or another contributor needs assistance.
A pull request by @burhanuday was merged and maintainers requested a documentation change.
See pull request: webpack/webpack#17346
Part of webpack/webpack#14893
Summary
🤖 Generated by Copilot at 15e1e2a
This pull request improves the support for style modules and assets in webpack by adding new resolution properties and updating the test cases. It modifies the
lib/config/defaults.js
file to define and apply the new properties, and thetest/configCases/css/css-import
files to import and test different style modules.Details
🤖 Generated by Copilot at 15e1e2a
styleResolutionDefaults
object to define common properties for resolving style modules (link)style-import.css
instyle.css
(link)The text was updated successfully, but these errors were encountered: