@myapp/
buttons/
cjs/index.js <-- final button with all components, even if you're using only 1 of them
esm/
ButtonWithIcon.js <-- `ButtonWithIcon` component
Button.js <-- `Button` component
index.js <-- main file exporting both components
Created
April 9, 2021 21:18
-
-
Save willmendesneto/7cacd4cef0a978a4b3193159dc6642e2 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment