Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

refactor: remove tsconfig.aot.json file #366

Merged
merged 1 commit into from
Dec 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion projectFilesManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ function getProjectTemplates(projectDir) {

if (isAngular({projectDir})) {
templates["webpack.angular.js"] = "webpack.config.js";
templates["tsconfig.aot.json"] = "tsconfig.aot.json";
} else if (isTypeScript({projectDir})) {
templates["webpack.typescript.js"] = "webpack.config.js";
} else {
Expand Down
7 changes: 0 additions & 7 deletions templates/tsconfig.aot.json

This file was deleted.

2 changes: 1 addition & 1 deletion templates/webpack.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = env => {
}
const platforms = ["ios", "android"];
const { snapshot, uglify, report, aot } = env;
const ngToolsWebpackOptions = { tsConfigPath: aot ? "tsconfig.aot.json" : "tsconfig.json"};
const ngToolsWebpackOptions = { tsConfigPath: "tsconfig.json" };

const config = {
context: resolve("./app"),
Expand Down