Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCompiled output does not allow import destructuring #264
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't do `import { Button } from 'brave-ui' because of the way that we are compiling in commonjs but expecting it to work like es-modules
It's probably ok to leave the module syntax alone, since any consumer would need to use typescript or webpack anyway, which supports this syntax. This can be fixed in tsconfig