mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
chore(build-system): replace individual package load with pattern (#1298)
This commit is contained in:
parent
0af3c44e9a
commit
f9218768c1
1 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,9 @@ var loadGruntTasks = require('load-grunt-tasks');
|
||||||
|
|
||||||
module.exports = function (grunt) {
|
module.exports = function (grunt) {
|
||||||
|
|
||||||
loadGruntTasks(grunt);
|
loadGruntTasks(grunt, {
|
||||||
grunt.loadNpmTasks('gruntify-eslint');
|
pattern: ['grunt-*', 'gruntify-*']
|
||||||
|
});
|
||||||
|
|
||||||
grunt.registerTask('default', ['eslint', 'build']);
|
grunt.registerTask('default', ['eslint', 'build']);
|
||||||
grunt.registerTask('before-copy', [
|
grunt.registerTask('before-copy', [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue