vmware-archive / clarity

Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
http://clarity.design
MIT License
6.43k stars 763 forks source link

fix(react): update react import paths to include extension #6627

Closed ashleyryan closed 2 years ago

ashleyryan commented 2 years ago

fixes: Creat React App / Webpack 5 #6622

Signed-off-by: Ashley Ryan asryan@vmware.com

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the current behavior?

6622 Creact-react-app/webpack requires imports to have extensions

What is the new behavior?

Update the import paths and add a new lint rule

Does this PR introduce a breaking change?

Other information