@@ -80,23 +80,23 @@ module.exports = function (grunt) {
80
80
} ,
81
81
stylus: {
82
82
files : [ '<%%= yeoman.client %>/{app,components}/**/*.styl' ] ,
83
- tasks : [ 'stylus' , 'autoprefixer ' ]
83
+ tasks : [ 'stylus' , 'postcss ' ]
84
84
} ,< % } if ( filters . sass ) { % >
85
85
injectSass: {
86
86
files : [ '<%%= yeoman.client %>/{app,components}/**/*.{scss,sass}' ] ,
87
87
tasks : [ 'injector:sass' ]
88
88
} ,
89
89
sass: {
90
90
files : [ '<%%= yeoman.client %>/{app,components}/**/*.{scss,sass}' ] ,
91
- tasks : [ 'sass' , 'autoprefixer ' ]
91
+ tasks : [ 'sass' , 'postcss ' ]
92
92
} ,< % } if ( filters . less ) { % >
93
93
injectLess: {
94
94
files : [ '<%%= yeoman.client %>/{app,components}/**/*.less' ] ,
95
95
tasks : [ 'injector:less' ]
96
96
} ,
97
97
less: {
98
98
files : [ '<%%= yeoman.client %>/{app,components}/**/*.less' ] ,
99
- tasks : [ 'less' , 'autoprefixer ' ]
99
+ tasks : [ 'less' , 'postcss ' ]
100
100
} ,< % } if ( filters . jade ) { % >
101
101
jade: {
102
102
files : [
@@ -189,9 +189,12 @@ module.exports = function (grunt) {
189
189
} ,
190
190
191
191
// Add vendor prefixed styles
192
- autoprefixer : {
192
+ postcss : {
193
193
options : {
194
- browsers : [ 'last 1 version' ]
194
+ map : true ,
195
+ processors : [
196
+ require ( 'autoprefixer-core' ) ( { browsers : [ 'last 1 version' ] } )
197
+ ]
195
198
} ,
196
199
dist : {
197
200
files : [ {
@@ -771,7 +774,7 @@ module.exports = function (grunt) {
771
774
'concurrent :server ',
772
775
'injector ',
773
776
'wiredep ',
774
- 'autoprefixer ',
777
+ 'postcss ',
775
778
'concurrent :debug '
776
779
] ) ;
777
780
}
@@ -785,7 +788,7 @@ module.exports = function (grunt) {
785
788
'concurrent:server',
786
789
'injector',
787
790
'wiredep',
788
- 'autoprefixer ',
791
+ 'postcss ',
789
792
'express:dev',
790
793
'wait',
791
794
'open',
@@ -817,7 +820,7 @@ module.exports = function (grunt) {
817
820
'injector:sass' , < % } %>
818
821
'concurrent :test ',
819
822
'injector ',
820
- 'autoprefixer ',
823
+ 'postcss ',
821
824
'karma '
822
825
] ) ;
823
826
}
@@ -845,7 +848,7 @@ module.exports = function (grunt) {
845
848
'concurrent :test ',
846
849
'injector ',
847
850
'wiredep ',
848
- 'autoprefixer ',
851
+ 'postcss ',
849
852
'express :dev ',
850
853
'protractor '
851
854
] ) ;
@@ -902,7 +905,7 @@ module.exports = function (grunt) {
902
905
'injector',
903
906
'wiredep',
904
907
'useminPrepare',
905
- 'autoprefixer ',
908
+ 'postcss ',
906
909
'ngtemplates',
907
910
'concat',
908
911
'ngAnnotate',
0 commit comments