UNPKG

brei-grunt-config

Version:
51 lines (50 loc) 1.15 kB
module.exports = function(grunt, options){ var yeoman = options.yeoman; return { dist: { files: [{ expand: true, dot: true, cwd: yeoman.app, dest: yeoman.dist, src: [ '*.{ico,png,txt}', '.htaccess', 'img/{,*/}*.{webp,gif}', 'css/{,*/}*.{jpg,gif,png,webp}', // if the css is generated into the app directory 'css/fonts/*', // if the css is generated into the app directory '.tmp/concat/css/**/*.{jpg,gif,png,webp}', // if the css is generated into the .tmp directory '.tmp/concat/css/**/*.{css}', // if the css is generated into the .tmp directory 'modules/*' ] }, { expand: true, dot: true, cwd: yeoman.app + '/fonts', dest: yeoman.dist + '/fonts', src: ['*'] }, { expand: true, dot: true, cwd: yeoman.app + 'sass/icons/fonts', dest: yeoman.dist + '/fonts', src: ['*'] }] }, deploy: { files: [{ expand: true, dot: true, cwd: yeoman.dist, dest: yeoman.deploy, src: ['./**'] }] }, styles: { expand: true, flatten: true, dest: yeoman.dist + '/css/', src: '.tmp/css/*.css' } }; };