-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Just like the grunt tasks to monify css and js, any configuration to use in the obfuscator?
Example
cssmin: {
options: {
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %> */'
},
files: {
src: 'app/css/*.css', // source files mask
dest: 'build/', // destination folder
expand: true, // allow dynamic building
flatten: true, // remove all unnecessary nesting
ext: '.min.css' // replace .js to .min.js
}
},
obfuscator: {
files: [
'app/js/**/*.js'
],
entry: 'app.js',
out: 'build/*.js',
strings: true,
root: __dirname
}
I found a solution by typing every file in the files array
Metadata
Metadata
Assignees
Labels
No labels