parent
7b7c0cdf5c
commit
921fda7d74
@ -1,27 +1,24 @@
|
||||
|
||||
module.exports = {
|
||||
task: function () {
|
||||
return {
|
||||
javascripts: {
|
||||
options: {
|
||||
mode: 'gzip'
|
||||
},
|
||||
expand: true,
|
||||
cwd: '<%= assets_dir %>/javascripts/',
|
||||
src: ['**/*.min.js'],
|
||||
dest: '<%= assets_dir %>/javascripts/',
|
||||
ext: '.js'
|
||||
exports.task = function () {
|
||||
return {
|
||||
main: {
|
||||
options: {
|
||||
archive: '<%= public_dir %>/static.tar.gz'
|
||||
},
|
||||
css: {
|
||||
options: {
|
||||
mode: 'gzip'
|
||||
},
|
||||
expand: true,
|
||||
cwd: '<%= assets_dir %>/stylesheets/',
|
||||
src: ['**/*.css'],
|
||||
dest: '<%= assets_dir %>/stylesheets/',
|
||||
ext: '.css'
|
||||
}
|
||||
};
|
||||
}
|
||||
files: [
|
||||
{
|
||||
expand: true,
|
||||
cwd: '<%= public_dir %>',
|
||||
dest: '/',
|
||||
src: [
|
||||
'*.html',
|
||||
'crossdomain.xml',
|
||||
'robots.txt',
|
||||
'static/**',
|
||||
'maintenance/**',
|
||||
'favicons/**'
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in new issue