Skip to content

Commit 8fc3512

Browse files
authored
Merge pull request #3239 from codecrafters-io/fix-ember-inspector
2 parents c26eb09 + 7d64c46 commit 8fc3512

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

app/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Application from '@ember/application';
22
import Resolver from 'ember-resolver';
33
import loadInitializers from 'ember-load-initializers';
4+
import setupInspector from '@embroider/legacy-inspector-support/ember-source-4.12';
45
import config from 'codecrafters-frontend/config/environment';
56
import 'codecrafters-frontend/config/deprecation-workflow';
67
import * as Sentry from '@sentry/ember';
@@ -26,6 +27,7 @@ export default class App extends Application {
2627
modulePrefix = config.modulePrefix;
2728
podModulePrefix = config.podModulePrefix;
2829
Resolver = Resolver;
30+
inspector = setupInspector(this);
2931
}
3032

3133
loadInitializers(App, config.modulePrefix);

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@ember/test-waiters": "^4.1.1",
4949
"@embroider/compat": "^3.8.5",
5050
"@embroider/core": "^3.4.16",
51+
"@embroider/legacy-inspector-support": "^0.1.3",
5152
"@embroider/router": "^2.1.8",
5253
"@embroider/webpack": "^4.1.0",
5354
"@glimmer/component": "^1.1.2",

0 commit comments

Comments
 (0)