We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45546a7 commit cf2e67eCopy full SHA for cf2e67e
dev/tools/grunt/configs/mage-minify.json
@@ -1,8 +1,7 @@
1
{
2
"legacy": {
3
"options": {
4
- "type": "yui-js",
5
- "tempPath": "pub/static/"
+ "compressor": "yui-js"
6
},
7
"files": {
8
"<%= path.uglify.legacy %>": [
@@ -19,4 +18,4 @@
19
18
]
20
}
21
22
-}
+}
dev/tools/grunt/tasks/mage-minify.js
@@ -17,8 +17,8 @@ module.exports = function (grunt) {
17
*/
function getConfig(options, file) {
return _.extend({
- fileIn: file.src,
- fileOut: file.dest
+ input: file.src,
+ output: file.dest
}, options);
23
24
@@ -43,7 +43,7 @@ module.exports = function (grunt) {
43
44
};
45
46
- new compressor.minify(config);
+ compressor.minify(config);
47
});
48
49
0 commit comments