WarpDrive is the lightweight data library for web apps —
universal, typed, reactive, and ready to scale.
@warp-drive/build-config
Enables providing a build config to optimize application assets
This package has been merged into @warp-drive/core and is not recommended for new applications.
Tagged Releases
Usage
import { setConfig } from '@warp-drive/build-config';
setConfig(app, __dirname, {
// ... options
});
In an ember-cli-build file that'll typically look like this:
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = async function (defaults) {
const { setConfig } = await import('@warp-drive/build-config');
const app = new EmberApp(defaults, {});
setConfig(app, __dirname, {
// WarpDrive settings go here (if any)
});
return app.toTree();
};