File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11< % if ( warpDrive ) { % > import '@warp-drive/ember/install' ; < % } % >
22import Application from '@ember/application' ;
33import compatModules from '@embroider/virtual/compat-modules' ;
4- import Resolver from 'ember-resolver' ;
5- import loadInitializers from 'ember-load-initializers' ;
6- import config from '<%= modulePrefix %>/config/environment' ;
7- import { importSync , isDevelopingApp , macroCondition } from '@embroider/macros' ;
4+ import Resolver from 'ember-resolver' ; < % if ( compat ) { % >
5+ import loadInitializers from 'ember-load-initializers' ; < % } % >
6+ import config from '<%= modulePrefix %>/config/environment' ; < % if ( notMinimal ) { % >
7+ import { importSync , isDevelopingApp , macroCondition } from '@embroider/macros' ; < } % >
88import setupInspector from '@embroider/legacy-inspector-support/ember-source-4.12' ;
99
10+ < % if ( notMinimal ) { % >
1011if ( macroCondition ( isDevelopingApp ( ) ) ) {
1112 importSync ( './deprecation-workflow' ) ;
1213}
14+ < % } % >
15+
1316
1417export default class App extends Application {
1518 modulePrefix = config . modulePrefix ;
1619 podModulePrefix = config . podModulePrefix ;
1720 Resolver = Resolver . withModules ( compatModules ) ;
1821 inspector = setupInspector ( this ) ;
1922}
20-
23+ < % if ( compat ) { % >
2124loadInitializers ( App , config . modulePrefix , compatModules ) ;
25+ < % } % >
You can’t perform that action at this time.
0 commit comments