Skip to content

Commit 30a1949

Browse files
committed
New version 4.6.2 released!
Enhanced features and bug fixes
1 parent e513316 commit 30a1949

8 files changed

Lines changed: 4279 additions & 3300 deletions

File tree

Gruntfile.js

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
module.exports = function(grunt) {
2-
grunt.initConfig({
3-
pkg: grunt.file.readJSON('package.json'),
4-
clean: {
5-
release: {
6-
src: ["dist/*.js"]
7-
}
8-
},
9-
uglify: {
10-
options: {
11-
banner:
12-
`/**
1+
module.exports = function (grunt) {
2+
grunt.initConfig({
3+
pkg: grunt.file.readJSON("package.json"),
4+
clean: {
5+
release: {
6+
src: ["dist/*.js"],
7+
},
8+
},
9+
uglify: {
10+
options: {
11+
banner: `/**
1312
* EasyQRCodeJS
1413
*
1514
* Cross-browser QRCode generator for pure javascript. Support Canvas, SVG and Table drawing methods. Support Dot style, Logo, Background image, Colorful, Title etc. settings. Support Angular, Vue.js, React, Next.js, Svelte framework. Support binary(hex) data mode.(Running with DOM on client side)
@@ -27,18 +26,18 @@ module.exports = function(grunt) {
2726
*
2827
* [Support AMD, CMD, CommonJS/Node.js]
2928
*
30-
*/`
31-
},
32-
build: {
33-
src: 'src/*.js',
34-
dest: 'dist/easy.qrcode.min.js'
35-
}
36-
},
37-
});
29+
*/`,
30+
},
31+
build: {
32+
src: "src/*.js",
33+
dest: "dist/easy.qrcode.min.js",
34+
},
35+
},
36+
});
3837

39-
grunt.loadNpmTasks('grunt-contrib-clean');
40-
grunt.loadNpmTasks('grunt-contrib-uglify');
38+
grunt.loadNpmTasks("grunt-contrib-clean");
39+
grunt.loadNpmTasks("grunt-contrib-uglify");
4140

42-
grunt.registerTask('release', ['clean', 'uglify']);
43-
grunt.registerTask('default', ['release']);
44-
};
41+
grunt.registerTask("release", ["clean", "uglify"]);
42+
grunt.registerTask("default", ["release"]);
43+
};

0 commit comments

Comments
 (0)