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

Ensure that code generated in development is "the same" as code used in development #704

Open
stalniy opened this issue Jan 23, 2025 · 0 comments

Comments

@stalniy
Copy link
Contributor

stalniy commented Jan 23, 2025

Why

Currently it's possible to make mistake during development and our tools do not notice it because it generates the code which actually doesn't cause this issue (potentially older version of ES).

This is what happened during implementation of storage stats chart, everything worked locally in dev env but once it was deployed, /network-capacity endpoint failed with 500 error and then it was fixed -> #683

What

Either get rid of webpack and use ts-node + tsc or ensure that webpack generates the same code for both prod and development envs

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