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

Commit e244cae

Browse files
sis0k0Vasil Chimev
authored and
Vasil Chimev
committed
refactor: remove tsconfig.aot.json file (#366)
The angular compiler options inside tsconfig.aot.json are not needed for webpack compilation.
1 parent aa7aac0 commit e244cae

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

projectFilesManager.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ function getProjectTemplates(projectDir) {
8585

8686
if (isAngular({projectDir})) {
8787
templates["webpack.angular.js"] = "webpack.config.js";
88-
templates["tsconfig.aot.json"] = "tsconfig.aot.json";
8988
} else if (isTypeScript({projectDir})) {
9089
templates["webpack.typescript.js"] = "webpack.config.js";
9190
} else {

templates/tsconfig.aot.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

templates/webpack.angular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = env => {
1515
}
1616
const platforms = ["ios", "android"];
1717
const { snapshot, uglify, report, aot } = env;
18-
const ngToolsWebpackOptions = { tsConfigPath: aot ? "tsconfig.aot.json" : "tsconfig.json"};
18+
const ngToolsWebpackOptions = { tsConfigPath: "tsconfig.json" };
1919

2020
const config = {
2121
context: resolve("./app"),

0 commit comments

Comments
 (0)