sanity-io / sanity-plugin-shopify-assets

MIT License
20 stars 1 forks source link

refactor: sort imports roughly by type #1

Closed rexxars closed 1 year ago

rexxars commented 1 year ago

This isn't a big deal, but we tend to sort imports by type:

  1. Node built-ins
  2. npm modules
  3. Local modules, by depth (eg the "closest" modules to the current module last)

I also added some type keywords where applicable (it sometimes helps bundlers/typescript do tree-shaking more efficiently)

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: