mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Streamline copy process by not bringing over full files into docs/dist/, only take minified ones
This commit is contained in:
+15
-4
@@ -197,11 +197,22 @@ module.exports = function (grunt) {
|
||||
src: ['fonts/*'],
|
||||
dest: 'dist/'
|
||||
},
|
||||
docs: {
|
||||
dist_css: {
|
||||
expand: true,
|
||||
cwd: './dist/',
|
||||
src: ['**'],
|
||||
dest: './docs/dist/'
|
||||
cwd: './dist/css',
|
||||
src: ['*.min.css', '*.css.map'],
|
||||
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/'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user