patternfly-react
patternfly-react copied to clipboard
"Disable Style Injection" wiki
The wiki below describes using null-loader
as the recommended solution to disable style injection for webpack.
https://github.com/patternfly/patternfly-react/wiki/Disabling-Style-Injection-with-Webpack
Unfortunately, Red Hat recently flagged loader-utils
(a dependency of null-loader
) as having a security issue.
"CVE-2022-37599 loader-utils: regular expression denial of service in interpolateName.js" https://issues.redhat.com/browse/COST-3158
Note that the null-loader
package has been deprecated and its repo archived.
https://github.com/webpack-contrib/null-loader
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Investigate if this is in Org before we make changes here. https://github.com/patternfly/patternfly-org/issues/3464