patternfly / react-user-feedback

MIT License
1 stars 9 forks source link

Convert SCSS to JSS #67

Open dlabaj opened 8 months ago

dlabaj commented 8 months ago

The build scripts for building CSS from SCSS are causing issues in certain environments where the code is located within another project. The scripts assume that the project will be built as a standalone project.

https://github.com/patternfly/react-user-feedback/blob/c0c51c751abf0b798f511806409f25d2a2e87a60/scripts/build-styles.js#L19

Instead of updating the files we should convert to JSS to prevent issues caused by using custom script files.

https://cssinjs.org/?v=v10.10.0

This will also help with module federation as it will be one less file to be concerned with when trying to reduce the bundle size of your code.