8000 chore: add defaults to angular-cli.json (#2783) · hackur/angular-cli@82b9c10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82b9c10

Browse files
authored
chore: add defaults to angular-cli.json (angular#2783)
The `ng set` command fails when trying to set these values when they do not exist.
1 parent ba414ab commit 82b9c10

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packages/angular-cli/blueprints/ng2/files/angular-cli.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@
4242
},
4343
"defaults": {
4444
"styleExt": "<%= styleExt %>",
45-
"prefixInterfaces": false
45+
"prefixInterfaces": false,
46+
"inline": {
47+
"style": false,
48+
"template": false
49+
},
50+
"spec": {
51+
"class": false,
52+
"component": true,
53+
"directive": true,
54+
"module": false,
55+
"pipe": true,
56+
"service": true
57+
}
4658
}
4759
}

0 commit comments

Comments
 (0)
0