-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathember-cli-build.js
More file actions
22 lines (19 loc) · 756 Bytes
/
ember-cli-build.js
File metadata and controls
22 lines (19 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
'use strict';
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const { compatBuild } = require('@embroider/compat');
module.exports = async function (defaults) {
const { buildOnce } = await import('@embroider/vite');
let app = new EmberApp(defaults, {
emberData: {
deprecations: {
// New projects can safely leave this deprecation disabled.
// If upgrading, to opt-into the deprecated behavior, set this to true and then follow:
// https://deprecations.emberjs.com/id/ember-data-deprecate-store-extends-ember-object
// before upgrading to Ember Data 6.0
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
},
},
// Add options here
});
return compatBuild(app, buildOnce);
};