Skip to content

Commit

Permalink
Add main field to package.json for backwards compatibiltiy
Browse files Browse the repository at this point in the history
Fixes #536
  • Loading branch information
sindresorhus committed Mar 8, 2022
1 parent 4d5c479 commit 85f7e96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -6,6 +6,7 @@
"repository": "chalk/chalk",
"funding": "https://github.com/chalk/chalk?sponsor=1",
"type": "module",
"main": "./source/index.js",
"exports": "./source/index.js",
"imports": {
"#ansi-styles": "./source/vendor/ansi-styles/index.js",
Expand Down

0 comments on commit 85f7e96

Please sign in to comment.