Skip to content

Commit 008e925

Browse files
removed deprecated emberData key and using setConfig() now
1 parent 42e07eb commit 008e925

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/frontend/ember-cli-build.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ module.exports = async function (defaults) {
1515
// fingerprint: {
1616
// extensions: broccoliAssetRevDefaults.extensions.concat(['webmanifest', 'svg']),
1717
// },
18-
emberData: {
19-
deprecations: {
20-
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
21-
},
22-
},
2318

2419
hinting: isTestBuild,
2520
babel: {
@@ -48,6 +43,7 @@ module.exports = async function (defaults) {
4843
useLintTree: false,
4944
},
5045
autoImport: {
46+
// adding insertScriptsAt breaks things for this app -_-
5147
// insertScriptsAt: 'auto-import-scripts',
5248
watchDependencies: ['rs-common'],
5349
},
@@ -77,7 +73,10 @@ module.exports = async function (defaults) {
7773

7874
const { setConfig } = await import('@warp-drive/build-config');
7975
setConfig(app, __dirname, {
80-
___legacy_support: true,
76+
compatWith: '5.2',
77+
deprecations: {
78+
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
79+
},
8180
});
8281

8382
// const embroiderOptions = {

0 commit comments

Comments
 (0)