Update GruntFile.js
No need to "load-grunt-parent-tasks", the grunt task will run on publishes only.development
parent
183fb41859
commit
3e20023154
|
@ -1,6 +1,5 @@
|
||||||
var path = require("path"),
|
var path = require("path"),
|
||||||
fs = require("fs"),
|
fs = require("fs"),
|
||||||
parentFolderName = path.basename(path.resolve('..')),
|
|
||||||
mxClientContent,
|
mxClientContent,
|
||||||
deps;
|
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", [
|
grunt.registerTask("default", [
|
||||||
"copy",
|
"copy",
|
||||||
"concat",
|
"concat",
|
||||||
|
|
Loading…
Reference in New Issue