Commit f10cf21a authored by Mark Otto's avatar Mark Otto

Streamline copy process by not bringing over full files into docs/dist/, only take minified ones

parent a9c829bc
...@@ -197,11 +197,22 @@ module.exports = function (grunt) { ...@@ -197,11 +197,22 @@ module.exports = function (grunt) {
src: ['fonts/*'], src: ['fonts/*'],
dest: 'dist/' dest: 'dist/'
}, },
docs: { dist_css: {
expand: true, expand: true,
cwd: './dist/', cwd: './dist/css',
src: ['**'], src: ['*.min.css', '*.css.map'],
dest: './docs/dist/' dest: 'docs/dist/css'
},
dist_js: {
expand: true,
cwd: './dist/js',
src: ['*.min.js'],
dest: 'docs/dist/js'
},
dist_fonts: {
expand: true,
src: ['fonts/*'],
dest: 'docs/dist/'
} }
}, },
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment