-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Introduce distinction between DEV and PROD builds #813
Comments
@mweststrate I can take this on if no one has shown interest yet. Minor caveat is I haven't worked with TS, so bootstrapping time might be a little longer for me :) |
Go for it! If you need process, you probably need put |
Cool stuff. Although MobX is not that big, it is always nice to get it a bit smaller. :) |
This issue will be fixed in MobX 4 |
Can we lift on what most people do with React as well, e.g. use
process.env.NODE_ENV
substitutions and conditions?Things that could be stripped on PROD builds:
The text was updated successfully, but these errors were encountered: