Skip to content

Commit

Permalink
fix: exports attribute on package.json, expo compat (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
renchap authored Mar 7, 2021
1 parent b3d657c commit 79aa509
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@
"node": ">=10.0.0"
},
"exports": {
"require": "./index.js",
"import": "./esm/index.js"
".": {
"require": "./index.js",
"import": "./esm/index.js"
},
"./package.json": "./package.json"
},
"files": [
"LICENSE",
Expand Down
7 changes: 5 additions & 2 deletions packages/detect-locale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@
"node": ">=10.0.0"
},
"exports": {
"require": "./index.js",
"import": "./esm/index.js"
".": {
"require": "./index.js",
"import": "./esm/index.js"
},
"./package.json": "./package.json"
},
"files": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion packages/macro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@lingui/macro",
"version": "3.7.0",
"description": "Macro for generating messages in ICU MessageFormat syntax",
"main": "index.ts",
"main": "index.js",
"author": {
"name": "Tomáš Ehrlich",
"email": "tomas.ehrlich@gmail.com"
Expand Down

1 comment on commit 79aa509

@vercel
Copy link

@vercel vercel bot commented on 79aa509 Mar 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.