Skip to content

Documentation / @warp-drive/build-config / deprecations / DEPRECATE_TRACKING_PACKAGE

ts
const DEPRECATE_TRACKING_PACKAGE: boolean = true;

Defined in: deprecations.ts:513

warp-drive:deprecate-tracking-package

Deprecates the use of the @ember-data/tracking package which historically provided bindings into Ember's reactivity system.

This package is no longer needed as the configuration is now provided by the @warp-drive/ember package.

This deprecation can be resolved by removing the @ember-data/tracking package from your project and ensuring that your app.js file has the following import:

js
import '@warp-drive/ember/install';

Once this import is present, you can remove the deprecation by setting the deprecation to false in your build config:

js
// inside of ember-cli-build.js

const { setConfig } = await import('@warp-drive/build-config');

setConfig(app, __dirname, {
  deprecations: {
    DEPRECATE_TRACKING_PACKAGE: false
  }
});

Since

5.5

Until

6.0

Released under the MIT License.