Skip to content

Commit f441780

Browse files
committed
Removed grunt-contrib-concat as its not necessary... uglify does the same thing
1 parent 359b13f commit f441780

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

Gruntfile.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,6 @@ module.exports = function (grunt) {
1616
}
1717
}
1818
},
19-
concat: {
20-
dist: {
21-
src: ["<banner:meta.banner>", "src/paypal-button.js"],
22-
dest: "dist/paypal-button.js",
23-
options: {
24-
banner: "<%= meta.banner %>"
25-
}
26-
},
27-
bundled: {
28-
src: ["<%= meta.banner %>", "lib/MiniCart/src/minicart.js", "src/paypal-button.js"],
29-
dest: "dist/paypal-button-minicart.js",
30-
options: {
31-
banner: "<%= meta.banner %>"
32-
}
33-
}
34-
},
3519
uglify: {
3620
dist: {
3721
src: [ "<%= meta.banner %>", "src/paypal-button.js" ],
@@ -53,10 +37,9 @@ module.exports = function (grunt) {
5337
// Load grunt tasks from npm packages
5438
grunt.loadNpmTasks("grunt-contrib-jshint");
5539
grunt.loadNpmTasks("grunt-contrib-uglify");
56-
grunt.loadNpmTasks("grunt-contrib-concat");
5740
grunt.loadNpmTasks('grunt-update-submodules');
5841

5942
// Default task.
60-
grunt.registerTask("default", ["jshint", "update_submodules", "concat", "uglify"]);
43+
grunt.registerTask("default", ["jshint", "update_submodules", "uglify"]);
6144

6245
};

0 commit comments

Comments
 (0)