1er commit
WP theme
This commit is contained in:
28
_/Swipe/Gruntfile.js
Executable file
28
_/Swipe/Gruntfile.js
Executable file
@@ -0,0 +1,28 @@
|
||||
/*global module */
|
||||
module.exports = function( grunt ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
grunt.initConfig({
|
||||
|
||||
uglify: {
|
||||
options: {
|
||||
mangle: {
|
||||
except: ['Swipe']
|
||||
}
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
'build/swipe.min.js': 'swipe.js'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// build
|
||||
grunt.loadNpmTasks('grunt-contrib');
|
||||
grunt.registerTask('build', 'uglify');
|
||||
grunt.registerTask('default', 'build');
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user