ember-fastboot / ember-cli-fastboot

Server-side rendering for Ember.js apps
http://ember-fastboot.com/
MIT License
851 stars 160 forks source link

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

Closed gabrielcsapo closed 1 year ago

gabrielcsapo commented 2 years ago

Our initial fix https://github.com/ember-fastboot/ember-cli-fastboot/pull/894 was done internally using patch-package and this solved our memory usage issue. The workaround https://github.com/ember-fastboot/ember-cli-fastboot/pull/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.