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.
45 lines
726 B
45 lines
726 B
|
|
var package = require('../package.json');
|
|
|
|
module.exports = {
|
|
del: {
|
|
silent: true
|
|
},
|
|
minify: {
|
|
processImport: false,
|
|
keepSpecialComments: 0
|
|
},
|
|
uglify: {
|
|
mangle: true
|
|
},
|
|
prefix: {
|
|
browsers: [
|
|
"last 2 version",
|
|
"> 1%",
|
|
"opera 12.1",
|
|
"safari 6",
|
|
"ie 9",
|
|
"bb 10",
|
|
"android 4"
|
|
]
|
|
},
|
|
header: {
|
|
package: package
|
|
},
|
|
sourcemap: {
|
|
includeContent : true,
|
|
sourceRoot : '/src'
|
|
},
|
|
rename: {
|
|
json : { extname : '.json' },
|
|
minJS : { extname : '.min.js' },
|
|
minCSS : { extname : '.min.css' }
|
|
},
|
|
wrench: {
|
|
recursive: {
|
|
forceDelete: false,
|
|
excludeHiddenUnix: true,
|
|
preserveFiles: true
|
|
}
|
|
}
|
|
};
|