Skip to content

Commit 8b53347

Browse files
committed
fix: extractReactIntl named export is overwritten #58
Fix #58
1 parent e4f3bde commit 8b53347

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ type Opts = {
6464
[key: string]: unknown
6565
}
6666

67-
export const extractReactIntl = _extractReactIntl
68-
6967
// eslint-disable-next-line max-lines-per-function
7068
const extractMessage = async (
7169
locales: string[],
@@ -132,6 +130,8 @@ const extractMessage = async (
132130
)
133131
}
134132

133+
extractMessage.extractReactIntl = _extractReactIntl
134+
135135
export default extractMessage
136136

137137
// For CommonJS default export support

0 commit comments

Comments
 (0)