From a107eb7f1ddf31d122734947bedce43fb2f43fb7 Mon Sep 17 00:00:00 2001 From: Liu Tim Date: Thu, 29 Dec 2016 11:41:56 +0800 Subject: [PATCH] (feature) enable aot and vendor chunk options for gh-pages-deploy --- packages/angular-cli/commands/github-pages-deploy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/angular-cli/commands/github-pages-deploy.ts b/packages/angular-cli/commands/github-pages-deploy.ts index 9951f13ecd4d..4cbb4fb8d326 100644 --- a/packages/angular-cli/commands/github-pages-deploy.ts +++ b/packages/angular-cli/commands/github-pages-deploy.ts @@ -128,6 +128,8 @@ const githubPagesDeployCommand = Command.extend({ environment: options.environment, outputPath: outDir, baseHref: baseHref, + aot: true, + vendorChunk: true }; const createGithubRepoTask = new CreateGithubRepo({