ratson / react-intl-redux

Redux binding for React Intl.
MIT License
297 stars 48 forks source link

fix: alternate export statement #67

Closed JessNah closed 7 months ago

JessNah commented 9 months ago

Hello, In a vite with react 17, node 18 environment (vite react 16 node 16 I wasn't hitting this on npm start),

I get the following err: image

Using this import statement in my vite app code-base, and latest ver of react-intl-redux: import { IntlProvider } from "react-intl-redux";

The following change resolves the issue and I believe will not cause any regressions. Would like this to be considered, not sure if its a commonjs issue.

Thanks for taking a look @ratson

ratson commented 7 months ago

@JessNah Thanks for the PR.