Skip to content

Commit 8a4b2e6

Browse files
committed
Corrected stylus files extensions and angular configuration.
Project was failing to start. More info: angular/angular-cli#2191
1 parent 43ef2c8 commit 8a4b2e6

File tree

4 files changed

+35
-41
lines changed

4 files changed

+35
-41
lines changed

.angular-cli.json

+34-40
Original file line numberDiff line numberDiff line change
@@ -3,58 +3,52 @@
33
"project": {
44
"name": "ng2-movie-viewer"
55
},
6-
"apps": [
7-
{
8-
"root": "src",
9-
"outDir": "dist",
10-
"assets": [
11-
"assets",
12-
"favicon.ico"
13-
],
14-
"index": "index.html",
15-
"main": "main.ts",
16-
"polyfills": "polyfills.ts",
17-
"test": "test.ts",
18-
"tsconfig": "tsconfig.app.json",
19-
"testTsconfig": "tsconfig.spec.json",
20-
"prefix": "app",
21-
"styles": [
22-
"styles.stylus"
23-
],
24-
"scripts": [],
25-
"environmentSource": "environments/environment.ts",
26-
"environments": {
27-
"dev": "environments/environment.ts",
28-
"prod": "environments/environment.prod.ts"
29-
}
6+
"apps": [{
7+
"root": "src",
8+
"outDir": "dist",
9+
"assets": [
10+
"assets",
11+
"favicon.ico"
12+
],
13+
"index": "index.html",
14+
"main": "main.ts",
15+
"polyfills": "polyfills.ts",
16+
"test": "test.ts",
17+
"tsconfig": "tsconfig.app.json",
18+
"testTsconfig": "tsconfig.spec.json",
19+
"prefix": "app",
20+
"styles": [
21+
"styles.styl"
22+
],
23+
"scripts": [],
24+
"environmentSource": "environments/environment.ts",
25+
"environments": {
26+
"dev": "environments/environment.ts",
27+
"prod": "environments/environment.prod.ts"
3028
}
31-
],
29+
}],
3230
"e2e": {
3331
"protractor": {
3432
"config": "./protractor.conf.js"
3533
}
3634
},
37-
"lint": [
38-
{
39-
"project": "src/tsconfig.app.json",
40-
"exclude": "**/node_modules/**"
41-
},
42-
{
43-
"project": "src/tsconfig.spec.json",
44-
"exclude": "**/node_modules/**"
45-
},
46-
{
47-
"project": "e2e/tsconfig.e2e.json",
48-
"exclude": "**/node_modules/**"
49-
}
50-
],
35+
"lint": [{
36+
"project": "src/tsconfig.app.json",
37+
"exclude": "**/node_modules/**"
38+
}, {
39+
"project": "src/tsconfig.spec.json",
40+
"exclude": "**/node_modules/**"
41+
}, {
42+
"project": "e2e/tsconfig.e2e.json",
43+
"exclude": "**/node_modules/**"
44+
}],
5145
"test": {
5246
"karma": {
5347
"config": "./karma.conf.js"
5448
}
5549
},
5650
"defaults": {
57-
"styleExt": "stylus",
51+
"styleExt": "styl",
5852
"component": {}
5953
}
6054
}
File renamed without changes.

src/app/app.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component } from '@angular/core';
33
@Component({
44
selector: 'app-root',
55
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.stylus']
6+
styleUrls: ['./app.component.styl']
77
})
88
export class AppComponent {
99
title = 'app';
File renamed without changes.

0 commit comments

Comments
 (0)