Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4837

Exclude custom adapter from production build

$
0
0

@beddu wrote:

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 development builds?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4837

Trending Articles