amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.94k stars 560 forks source link

Get rid of default exports, use named exports only #1274

Open jorenbroekema opened 4 months ago

jorenbroekema commented 4 months ago
import { StyleDictionary } from 'style-dictionary';

Also use named imports everywhere internally.

All public utils/types are already named, just the default import StyleDictionary is the exception. It would be good to discuss whether breaking this and making it a named import is worth it or if it's not valuable enough to cause a breaking change.