8000 fix: update to awesome-typescript-loader 2.1.0 (#1425) · sirajc/angular-cli@29f899c · GitHub
[go: up one dir, main page]

Skip to content

Commit 29f899c

Browse files
TheLarkInnfilipesilva
authored andcommitted
fix: update to awesome-typescript-loader 2.1.0 (angular#1425)
* fix: update to awesome-typescript-loader 2.1.0 which fixes a few issues shimming typings libs in tsconfig.json * fix: forgot to set libs in tsconfig blueprint
1 parent 6562f78 commit 29f899c

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

addon/ng2/blueprints/ng2/files/__path__/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"declaration": false,
44
"emitDecoratorMetadata": true,
55
"experimentalDecorators": true,
6+
"lib": ["es6", "dom"],
67
"mapRoot": "./",
78
"module": "es6",
89
"moduleResolution": "node",

addon/ng2/blueprints/ng2/files/__path__/typings.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
// https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html
44

55
/// <reference path="<%= refToTypings %>/typings/index.d.ts" />
6-
/// <reference path="../node_modules/typescript/lib/lib.es2015.core.d.ts" />
7-
/// <reference path="../node_modules/typescript/lib/lib.es2015.collection.d.ts" />
8-
/// <reference path="../node_modules/typescript/lib/lib.es2015.promise.d.ts" />
9-
106
<% if(!isMobile) { %>
117
declare var System: any;
128
<% if(!isMobile) { %>declare var module: { id: string };<% } %>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@types/rimraf": "0.0.25-alpha",
3838
"@types/webpack": "^1.12.22-alpha",
3939
"angular2-template-loader": "^0.4.0",
40-
"awesome-typescript-loader": "^2.0.1",
40+
"awesome-typescript-loader": "^2.1.0",
4141
"chalk": "^1.1.3",
4242
"compression-webpack-plugin": "^0.3.1",
4343
"copy-webpack-plugin": "^3.0.1",

0 commit comments

Comments
 (0)
0