Browse Source

Update GruntFile.js

No need to "load-grunt-parent-tasks", the grunt task will run on publishes only.
tags/v3.9.8
mehyaa GitHub 1 year ago
parent
commit
3e20023154
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      etc/build/Gruntfile.js

+ 1
- 2
etc/build/Gruntfile.js 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",

Loading…
Cancel
Save