Skip to content

Commit 00ef873

Browse files
committed
[WIP] fix for AOT bug angular/angular-cli#8434
1 parent b971595 commit 00ef873

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ before_script:
2424
- node server.js -- &
2525

2626
script:
27-
- npm run build-dev
28-
- npm run build-prod
27+
- npm run ngbuild
2928
- npm run cypress-run

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
"wds-hot": "webpack-dev-server --config webpack/webpack.config.hot.js --content-base public/ --progress --colors --inline --watch --hotOnly",
4343
"wds-prod": "webpack-dev-server --config webpack/webpack.config.prod.js --content-base public/ --progress --colors",
4444
"ng": "ng",
45-
"start": "ng serve",
46-
"start-hmr": "ng serve --hmr",
47-
"build": "ng build --prod",
48-
"test": "ng test",
49-
"lint": "ng lint",
50-
"e2e": "ng e2e"
45+
"ngstart": "ng serve",
46+
"ngstart-hmr": "ng serve --hmr",
47+
"ngbuild": "ng build --prod --aot=false",
48+
"ngtest": "ng test",
49+
"nglint": "ng lint",
50+
"nge2e": "ng e2e"
5151
},
5252
"homepage": "https://github.com/dkocich/osm-pt-ngx-leaflet#readme",
5353
"dependencies": {

0 commit comments

Comments
 (0)