Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problème build dans un projet avec reduxed-actions comme dépendance #1

Open
sebthemonster opened this issue Apr 18, 2023 · 2 comments

Comments

@sebthemonster
Copy link

Après le build de mon projet, j'ai ce warning récurrent en console du navigateur. Après avoir fait toutes les modifications pour l'enlever dans mon projet, il subsiste.

Warning en question :

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.

Je pense que ça vient de reduxed-actions car je n'y vois pas de référence à NODE_ENV dans la config "prod" de webpack.

J'ai essayé de compiler de mon côté pour corriger cela, mais impossible.

@xhite
Copy link
Owner

xhite commented Apr 19, 2023

Ça me rappelle des souvenirs 🙂. De mémoire, c'était une config dans webpack à changer.
Pourrais tu me dire si c'est en prod que tu as ce message stp ?

@sebthemonster
Copy link
Author

Oui en production seulement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants