cartodb-4.42/lib/build/tasks/compress.js

25 lines
456 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
exports.task = function () {
return {
main: {
options: {
archive: '<%= public_dir %>/static.tar.gz'
},
files: [
{
expand: true,
cwd: '<%= public_dir %>',
dest: '/',
src: [
'*.html',
'crossdomain.xml',
'robots.txt',
'static/**',
'maintenance/**',
'favicons/**'
]
}
]
}
};
};