Update GruntFile.js

No need to "load-grunt-parent-tasks", the grunt task will run on publishes only.
development
mehyaa 2018-05-14 10:37:01 +03:00 committed by GitHub
parent 183fb41859
commit 3e20023154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
var path = require("path"),
fs = require("fs"),
parentFolderName = path.basename(path.resolve('..')),
mxClientContent,
deps;
@ -89,7 +88,7 @@ module.exports = function (grunt) {
},
});
require(parentFolderName === "node_modules" ? "load-grunt-parent-tasks" : "load-grunt-tasks")(grunt);
require("load-grunt-tasks")(grunt);
grunt.registerTask("default", [
"copy",
"concat",