Ich bekomme den Fehler, obwohl alle im Code richtig zu sein scheint. Kann jemand helfen?Grunt Uglify zeigt Fehler
gruntfile.js
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
//Setting up some base links
meta: {
basePath: '../'
},
//Reading package.json file
pkg: grunt.file.readJSON('package.json'),
// Concat Configuration
concat: {
options: {
separator: ';'
},
dist: {
src: ['<%= meta.basePath %>scripts/*.js'],
dest: '<%= meta.basePath %>scripts/concated.js'
}
},
// Uglify Configuration
uglify: {
build: {
src: ['<%= meta.basePath %>scripts/concated.js'],
dest: '<%= meta.basePath %>scripts/uglify.js'
}
}
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-concat','grunt-contrib-uglify');
// Default task
grunt.registerTask('default', ['concat','uglify']);
};
ERROR
Bereits die Links zu sehen:
grunt uglify task failing
new to grunt - warning: task "concat, uglify" not found
"grunt concat" läuft jedoch gut und liefert Ergebnisse. Keine Probleme. Aber dieses Uglify scheint eine Menge Schmerz zu erzeugen.
Sad! Niemand, der mir helfen könnte ??? – Deadpool