initial commit
This commit is contained in:
26
ember-cli-build.mjs
Normal file
26
ember-cli-build.mjs
Normal file
@@ -0,0 +1,26 @@
|
||||
// import { dirname } from 'node:path';
|
||||
// import { fileURLToPath } from 'node:url';
|
||||
import EmberApp from 'ember-cli/lib/broccoli/ember-app.js';
|
||||
import { compatBuild } from '@embroider/compat';
|
||||
|
||||
export default async function (defaults) {
|
||||
// const { setConfig } = await import('@warp-drive/core/build-config');
|
||||
const { buildOnce } = await import('@embroider/vite');
|
||||
|
||||
const app = new EmberApp(defaults, {
|
||||
// Add options here
|
||||
});
|
||||
|
||||
// TODO: uncomment once we have started resolving WarpDrive deprecations
|
||||
// setConfig(app, dirname(fileURLToPath(import.meta.url)), {
|
||||
// // this should be the most recent <major>.<minor> version for
|
||||
// // which all deprecations have been fully resolved
|
||||
// // and should be updated when that changes
|
||||
// compatWith: '5.8',
|
||||
// deprecations: {
|
||||
// // ... list individual deprecations that have been resolved here
|
||||
// },
|
||||
// });
|
||||
|
||||
return compatBuild(app, buildOnce);
|
||||
}
|
||||
Reference in New Issue
Block a user