1.

How Do We Load Grunt Plugins In Gruntfile.js?

Answer»

GRUNT.loadNpmTasks() is used for LOADING grunt plugins. Before loading, please ensure that these plugins are ALREADY installed VIA NPM.

grunt.loadNpmTasks('grunt-contrib-uglify');

grunt.loadNpmTasks() is used for loading grunt plugins. Before loading, please ensure that these plugins are already installed via npm.

grunt.loadNpmTasks('grunt-contrib-uglify');



Discussion

No Comment Found