Skip to content

Commit

Permalink
fix: extractReactIntl named export is overwritten #58
Browse files Browse the repository at this point in the history
Fix #58
  • Loading branch information
akameco committed Nov 30, 2019
1 parent e4f3bde commit 8b53347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ type Opts = {
[key: string]: unknown
}

export const extractReactIntl = _extractReactIntl

// eslint-disable-next-line max-lines-per-function
const extractMessage = async (
locales: string[],
Expand Down Expand Up @@ -132,6 +130,8 @@ const extractMessage = async (
)
}

extractMessage.extractReactIntl = _extractReactIntl

export default extractMessage

// For CommonJS default export support
Expand Down

0 comments on commit 8b53347

Please sign in to comment.