tappleby / redux-batched-subscribe

store enhancer for https://github.com/reactjs/redux which allows batching subscribe notifications.
MIT License
504 stars 32 forks source link

babel 5 error #10

Closed landabaso closed 8 years ago

landabaso commented 8 years ago

Hi, I'm getting the following error when compiling a project with redux-batched-subscribe:

ERROR in ./~/redux-batched-subscribe/lib/index.js
Module build failed: ReferenceError: [BABEL] /MYPATH/node_modules/redux-batched-subscribe/lib/index.js: Using removed Babel 5 option: /MYPATH/node_modules/redux-batched-subscribe/.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets

Any idea? Thanks

UPDATE:

removing redux-batched-subscribe/.babelrc let me compile without errors. Is it safe to remove it? In that case, should it be included in the npm package?

tappleby commented 8 years ago

Thanks. Published version 0.1.6 which uses a files whitelist instead of npmignore - 765bcf70af8c40952d1dee5ddcecb22b0907500b