Skip to content

Conversation

@tkamenoko
Copy link

fix #649

…standard

To meet Node.js standard, 2 things should be fixed:

* ESM file should use `.mjs` extention
instead of `.esm.js`.
* `module` field in `package.json` is not standard way of Node.js. Use
`exports` field instead.

fix styled-components#649
@tkamenoko tkamenoko requested a review from bhough as a code owner March 25, 2024 16:19
@bhough bhough self-assigned this Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use exports field with .mjs extension instead of "module": "dist/polished.esm.js" in package.json

2 participants