Greenruhm / connect

Greenruhm Connect is your white label, custom-branded connection to the music metaverse. It allows you to provide music NFT services inside your app with your branding.
MIT License
1 stars 0 forks source link

chore: update build configuration #76

Closed brunomoutinho closed 1 year ago

brunomoutinho commented 1 year ago

Closes #75

With the updated configuration, all files under src/ folder are going to be processed by SWC and the resulting files are going to be pushed into ui/ folder.

This means that, currently, it would be possible to import connect from @greenruhm/connect and @greenruhm/connect/ui, since connect is located at the index.js file in both these folders.

It would also be possible for projects that run build steps in node_modules to import components from @greenruhm/connect/components, since the original files are still in the src/ folder.

To import the built components, the user has to import @greenruhm/connect/ui/components/name-of-component.

brunomoutinho commented 1 year ago

Hey, @ericelliott, is this what you meant in #75 ?