Documentation / @warp-drive/build-config / index / WarpDriveConfig
Interface: WarpDriveConfig
Defined in: index.ts:110
Build Configuration options for WarpDrive that allow adjusting logging, deprecations, canary features and optional features.
Properties
compatWith?
optional compatWith: `${number}.${number}`;
Defined in: index.ts:165
The most recent version of the library from which all deprecations have been resolved.
For instance if all deprecations released prior to or within 5.3
have been resolved, then setting this to 5.3
will remove all the support for the deprecated features for associated deprecations.
:::caution Universal Apps This value should be at least 5.6
for universal/non-ember applications as that was the first version that builds without any ember-source dependencies provided all deprecations are resolved. :::
See deprecations for more details.
debug?
optional debug: Partial<debugging>;
Defined in: index.ts:124
An object of key/value pairs of logging flags
see debugging for the available flags.
{
LOG_CACHE: true,
}
deprecations?
optional deprecations: Partial<{
DEPRECATE_CATCH_ALL: boolean;
DEPRECATE_COMPUTED_CHAINS: boolean;
DEPRECATE_EMBER_INFLECTOR: boolean;
DEPRECATE_LEGACY_IMPORTS: boolean;
DEPRECATE_MANY_ARRAY_DUPLICATES: boolean;
DEPRECATE_NON_STRICT_ID: boolean;
DEPRECATE_NON_STRICT_TYPES: boolean;
DEPRECATE_NON_UNIQUE_PAYLOADS: boolean;
DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE: boolean;
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: boolean;
DEPRECATE_TRACKING_PACKAGE: boolean;
DISABLE_7X_DEPRECATIONS: boolean;
ENABLE_LEGACY_REQUEST_METHODS: boolean;
ENABLE_LEGACY_SCHEMA_SERVICE: boolean;
}>;
Defined in: index.ts:180
An object of key/value pairs of logging flags
see deprecations for the available flags.
{
DEPRECATE_THING: false,
}
features?
optional features: Partial<{
ENFORCE_STRICT_RESOURCE_FINALIZATION: boolean;
JSON_API_CACHE_VALIDATION_ERRORS: boolean;
SAMPLE_FEATURE_FLAG: boolean;
}>;
Defined in: index.ts:197
An object of key/value pairs of canary feature flags for use when testing new features gated behind a flag in a canary release version.
see features for the available flags.
{
FEATURE_A: true,
}
includeDataAdapterInProduction?
optional includeDataAdapterInProduction: boolean;
Defined in: index.ts:145
By default, the integration required to support the ember-inspector browser extension is included in production builds only when using the ember-data
package.
Otherwise the default is to exclude it. This setting allows to explicitly enable/disable it in production builds.
polyfillUUID?
optional polyfillUUID: boolean;
Defined in: index.ts:133
If you are using the library in an environment that does not support window.crypto.randomUUID
you can enable a polyfill for it.