We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 601df81 commit db2cec1Copy full SHA for db2cec1
‎addons/api/index.js‎
@@ -98,6 +98,6 @@ module.exports = {
98
_includeMirageInBuild() {
99
const env = this.parent.app?.env ?? 'production';
100
const config = this.project.config(env);
101
- return config.mirage.enabled || env !== 'production';
+ return config.mirage?.enabled || env !== 'production';
102
},
103
};
‎addons/core/tests/dummy/config/environment.js‎
@@ -41,6 +41,10 @@ module.exports = function (environment) {
41
namespace: 'v1',
42
43
44
+ mirage: {
45
+ enabled: true,
46
+ },
47
+
48
enableConfirmService: false,
49
50
0 commit comments