postcss.js 461 B

123456789101112131415161718192021
  1. module.exports = function(config) {
  2. return {
  3. options: {
  4. map: true, // inline sourcemaps
  5. // or
  6. map: {
  7. inline: false, // save all sourcemaps as separate files...
  8. annotation: '<%= genDir %>/css' // ...to the specified directory
  9. },
  10. processors: [
  11. require('autoprefixer')({browsers: 'last 3 versions'}), // add vendor prefixes
  12. ]
  13. },
  14. dist: {
  15. src: '<%= genDir %>/css/*.css'
  16. }
  17. }
  18. };