Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default export to CJS #13

Closed
ai opened this issue Sep 27, 2021 · 1 comment · Fixed by #26
Closed

Add default export to CJS #13

ai opened this issue Sep 27, 2021 · 1 comment · Fixed by #26

Comments

@ai
Copy link
Contributor

ai commented Sep 27, 2021

picocolors.browser.cjs and other cjs should have default export to be ready for bugs like postcss/autoprefixer#1425

For instance, module.exports.default = module.exports will fix the case.

@alexeyraspopov
Copy link
Owner

Good lord, those CJS compatibility issues are blowing my mind...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants