bem-contrib / bem-redux

Redux for BEM projects
12 stars 3 forks source link

Ошибка в консоли при сборке в NODE_ENV='production' #7

Closed fual closed 8 years ago

fual commented 8 years ago

При подключении библиотеки в NODE_ENV='production' в браузере получаем:

You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.

Нужно пересобрать библиотеку с NODE_ENV='production'