Skip to content

Commit

Permalink
fix: Define exports for sub files of react-intl-phraseapp (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Varpuspaavi authored Sep 12, 2023
1 parent 682e0c6 commit 58b3ecf
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-intl-phraseapp",
"version": "4.1.1",
"version": "4.1.2",
"description": "The In-Context-Editor for react using react-intl",
"homepage": "https://phrase.com",
"scripts": {
Expand Down Expand Up @@ -46,6 +46,21 @@
"dist/"
],
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./functions": "./dist/functions.js",
"./injectIntl": "./dist/injectIntl.js",
"./useIntl": "./dist/useIntl.js",
"./useSSRIntl": "./dist/useSSRIntl.js"
},
"typesVersions": {
"*": {
"functions": ["dist/functions.d.ts"],
"injectIntl": ["dist/injectIntl.d.ts"],
"useIntl": ["dist/useIntl.d.ts"],
"useSSRIntl": ["dist/useSSRIntl.d.ts"]
}
},
"sideEffects": false,
"jest": {
"transform": {
Expand Down

0 comments on commit 58b3ecf

Please sign in to comment.