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({