User Tools

Site Tools


wwwgjs:combining_bower_scripts_and_css

→ grunt-bower-concat

npm install grunt-bower-concat --save-dev
// gruntfile.js
(...)
//nouvelle tâche
  bower_concat {
    all: {
      dest: 'builds/developments/js/_bower.js',
      cssDest: 'builds/development/css/_bower.css',
    },
  }
(...)
grunt.loadNpmTasks('grunt-bower-concat');

grunt.registerTask('default', ['wiredep', 'bower_concat', 'concat', 'sass', 'connect', 'watch']);
wwwgjs/combining_bower_scripts_and_css.txt · Last modified: 2016/03/29 12:23 by leo