Skip to content

Commit

Permalink
chore: add demo serve configuration for IE/es5 (#3399)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxokorokov committed Oct 4, 2019
1 parent 22b4ca8 commit 1418905
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
},
"ie": {
"tsConfig": "demo/tsconfig.ie.json"
}
}
},
Expand All @@ -113,6 +116,9 @@
"configurations": {
"production": {
"browserTarget": "demo:build:production"
},
"ie": {
"browserTarget": "demo:build:ie"
}
}
},
Expand Down
6 changes: 6 additions & 0 deletions demo/tsconfig.ie.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"target": "es5"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"tdd": "yarn ngb:tdd",
"e2e": "yarn e2e-app:lint && yarn ngb:e2e && yarn demo:e2e",
"demo": "yarn demo:docs && yarn demo:stackblitzes && yarn demo:serve",
"demo:ie": "yarn demo -c ie",
"ssr": "yarn ssr-app:lint && yarn ssr-app:build && yarn ssr-app:e2e",
"changelog": "conventional-changelog --preset angular --infile CHANGELOG.md --same-file --release-count 1",
"check-format": "ts-node --project misc/tsconfig.json misc/check-format.ts",
Expand Down

0 comments on commit 1418905

Please sign in to comment.