Skip to content

Commit

Permalink
Grunt compress task (was surprised that it is not here)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkolok committed Apr 2, 2017
1 parent 4cedfaa commit 00ae418
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Gruntfile.js
Expand Up @@ -108,6 +108,25 @@
}
}
},
compress: {
plugin: {
options: {
archive: 'build/anspress.zip'
},
files: [
{
expand: true,
src: [
'**/*',
'!.',
'!build/**',
'!node_modules/**',
],
dot: false,
},
],
},
},

watch: {
sass: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"private": true,
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-compress": "",
"grunt-contrib-compress": "^1.4.1",
"grunt-contrib-concat": "",
"grunt-contrib-copy": "",
"grunt-contrib-cssmin": "^1.0.2",
Expand Down

0 comments on commit 00ae418

Please sign in to comment.