Skip to content

Commit 349d56c

Browse files
author
Peter Bakonyi
committed
replicate aot build issue by moving main.ts in a subfolder
1 parent efe93e7 commit 349d56c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
"private": true,
66
"scripts": {
77
"clean": "ionic-app-scripts clean",
8-
"build": "ionic-app-scripts build",
9-
"ionic:build": "ionic-app-scripts build",
10-
"ionic:serve": "ionic-app-scripts serve"
8+
"build": "ionic-app-scripts build"
9+
},
10+
"config": {
11+
"ionic_app_entry_point": "src/app/web/main.ts",
12+
"ionic_app_ng_module_path": "src/app/app.module.ts",
13+
"ionic_app_ng_module_class": "AppModule"
1114
},
1215
"dependencies": {
1316
"@angular/common": "2.4.8",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
22

3-
import { AppModule } from './app.module';
3+
import { AppModule } from '../app.module';
44

55
platformBrowserDynamic().bootstrapModule(AppModule);

0 commit comments

Comments
 (0)