Package @ember-data/debug

Overview

This package provides the DataAdapter which the Ember Inspector uses to subscribe and retrieve information for the data tab in the inspector.

This package adds roughly .6 KB when minified and compressed to your application in production; however, you can opt out of shipping this addon in production via options in ember-cli-build.js

let app = new EmberApp(defaults, {
  emberData: {
    includeDataAdapterInProduction: false
  }
});

When using ember-data as a dependency of your app, the default is to ship the inspector support to production.

When not using ember-data as a dependency but instead using EmberData via declaring specific @ember-data/<package> dependencies the default is to not ship to production.

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember-data/3.25/modules/@ember-data%2Fdebug