My Ember application (ember-cli:3.4.4 ember-data:3.4.0) has a custom application Adapter which can redirect requests to a simulation back-end, used only for testing purposes, when a flag named
simulation existing in development environment is set to
true. In production builds this is completely useless.
Is there a way to exclude the custom Adapter from production builds?