wefra/lib/intl-tel-input-master/grunt/uglify.js

31 lines
748 B
JavaScript

module.exports = function(grunt) {
return {
options: {
banner: '/*\n' +
' * International Telephone Input v<%= package.version %>\n' +
' * <%= package.repository.url %>\n' +
' * Licensed under the MIT license\n' +
' */\n',
screwIE8: false
},
dev: {
options: {
beautify: true,
compress: false,
mangle: false,
preserveComments: true
},
files: {
'build/js/intlTelInput.js': 'tmp/wrapped.js',
'build/js/intlTelInput-jquery.js': 'tmp/wrapped-jquery.js',
}
},
prod: {
files: {
'tmp/wrapped.min.js': 'tmp/wrapped.js',
'tmp/wrapped-jquery.min.js': 'tmp/wrapped-jquery.js',
}
},
};
};