Add Gruntfile
This commit is contained in:
parent
ee9931b428
commit
13762ea11d
16
Gruntfile.js
Normal file
16
Gruntfile.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.initConfig({
|
||||
uglify: {
|
||||
main: {
|
||||
files: {
|
||||
'tile.min.js': ['tile.js']
|
||||
}
|
||||
},
|
||||
options: {
|
||||
preserveComments: "some"
|
||||
}
|
||||
}
|
||||
});
|
||||
grunt.registerTask('default', ['uglify']);
|
||||
};
|
Loading…
Reference in a new issue