patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

feat(react-styles): parse & update relative imports in css files

Open evwilkin opened this issue 2 years ago • 2 comments

Towards #7825

This PR parses CSS files being copied into react-styles and replaces relative asset paths with absolute paths.

evwilkin avatar Aug 10 '22 20:08 evwilkin

Preview: https://patternfly-react-pr-7820.surge.sh

A11y report: https://patternfly-react-pr-7820-a11y.surge.sh

patternfly-build avatar Aug 10 '22 21:08 patternfly-build

@jschuler took a stab at what we chatted about around editing CSS import paths (similar to work I was doing in an issue for Codesandbox imports) - it looks to work locally but is breaking the build, I'm also not sure next steps to enhance this to make it opt-in or any additional checks we'd want to run to make sure this doesn't have other unintended consequences.

That said, I know you were going to look into this so maybe this will give you a head start 🤞 @mcoker FYI

evwilkin avatar Aug 11 '22 15:08 evwilkin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Oct 10 '22 21:10 stale[bot]