Hi, I'm searching internet for some hours and I simply can't find anything about that Closure Compiler can minify and save every parsed file as separate file. For example I have structure like this: js |- test1.js |- test2.js |- test3.js
and I want to minify and save those files to this: build |- test1.min.js |- test2.min.js |- test3.min.js
Is it possible to declare in Closure options?
Other tasks have such thing. For example in cssmin: cssmin: { minifyCSS: { files: [{ expand: true, cwd: 'css/', src: ['*.css', '!*.min.css'], dest: 'build/', ext: '.min.css' }] } }
Comment
Hi,
I'm searching internet for some hours and I simply can't find anything about that Closure Compiler can minify and save every parsed file as separate file.
For example I have structure like this:
js
|- test1.js
|- test2.js
|- test3.js
and I want to minify and save those files to this:
build
|- test1.min.js
|- test2.min.js
|- test3.min.js
Is it possible to declare in Closure options?
Other tasks have such thing. For example in cssmin:
cssmin: {
minifyCSS: {
files: [{
expand: true,
cwd: 'css/',
src: ['*.css', '!*.min.css'],
dest: 'build/',
ext: '.min.css'
}]
}
}