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

feat: adds a environment variable to opt out of source maps #896

Merged

Conversation

gabrielcsapo
Copy link
Contributor

@gabrielcsapo gabrielcsapo commented Jun 15, 2022

Our initial fix #894 was done internally using patch-package and this solved our memory usage issue. The workaround #895 we had merged in ending up causing an extremely bad CPU spike in production. Because we traded memory usage for cpu because now we constantly read from disk. We want to turn off source maps as we internally unwrap the source and handle this on error in a different system.

@nlfurniss nlfurniss merged commit 5a1c5f1 into ember-fastboot:master Dec 19, 2022
@gabrielcsapo gabrielcsapo deleted the gabrielcsapo/sourcemaps-opt-out branch December 19, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants