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

Logs meant for development showing up in production #288

Open
marius-tb opened this issue Mar 6, 2024 · 0 comments
Open

Logs meant for development showing up in production #288

marius-tb opened this issue Mar 6, 2024 · 0 comments

Comments

@marius-tb
Copy link

It seems there is logging enabled here, when parameter config is missing: https://github.com/pbeshai/use-query-params/blob/master/packages/serialize-query-params/src/decodeQueryParams.ts#L30

Clearly it's meant to only show in development, however you can see below the published version of this code shows that is always logging, so that means the project is being built while in NODE_ENV=development. It would be great to be able to disable this behavior.

image

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

1 participant