v4.0.1
A very minor release. We've upgraded to Babel 7 internally and now provide a .mjs
file which you can import cleanly into browsers that support ES modules natively. Enjoy!
Changes
- Update mixed NODE_ENV message for Webpack 4 (4a215fb by @timdorr)
- Add unpkg field to package.json (#3003 by @andrewbridge)
- Use same return type for both StoreCreator signatures (#2985 by @reklawnos)
- Mark StoreCreator's preloadedState argument as optional (#3080 by @srittau)
- Add ES browser build (#3143 by @TimvdLippe)
- Throw an error if createStore is passed several enhancers (#3151 by @selbekk)
- Upgrade to Babel 7 (b9ee1cf by @timdorr)