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 762 forks source link

build(core): fix storybook build config for safari #6496

Closed coryrylan closed 2 years ago

coryrylan commented 2 years ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

What is the new behavior?

Minor adjustment that prevents the storybook build from compiling to older JS targets. Speeds up the storybook watch and enables newer JS features to be used (async generators es2020+). This only applies to the storybook dev build and does not impact the library build.

Does this PR introduce a breaking change?

Other information