Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
module.exports = function(grunt) {
|
|
|
|
grunt.initConfig({
|
|
|
|
uglify: {
|
|
|
|
options: {
|
|
|
|
compress: {
|
|
|
|
global_defs: {
|
|
|
|
'PAPA_BROWSER_CONTEXT': true
|
|
|
|
},
|
|
|
|
dead_code: true
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
comments: 'some',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
min: {
|
|
|
|
files: {
|
|
|
|
'papaparse.min.js': ['papaparse.js']
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-uglify');
|
|
|
|
|
|
|
|
grunt.registerTask('build', ['uglify']);
|
|
|
|
grunt.registerTask('default', ['uglify']);
|
|
|
|
};
|