bsDocs js vendor copy

This commit is contained in:
Kevin Ross 2016-03-09 11:01:06 -06:00
parent 76cc724b56
commit c7e8aefd94
2 changed files with 24 additions and 10 deletions

View File

@ -271,16 +271,16 @@ module.exports = function (grunt) {
], ],
dest: 'docs/dist/' dest: 'docs/dist/'
}, },
'bs-docs-js-vendor': { //'bs-docs-js-vendor': {
expand: true, // expand: true,
cwd: '../bootstrap/docs/assets/js/vendor', // cwd: '../bootstrap/docs/assets/js/vendor',
src: [ // src: [
'**/*', // '**/*',
'!tether.min.js', // '!tether.min.js',
'!jquery.min.js' // '!jquery.min.js'
], // ],
dest: 'docs/assets/js/vendor/' // dest: 'docs/assets/js/vendor/'
}, //},
//'bs-docs-plugins': { //'bs-docs-plugins': {
// expand: true, // expand: true,
// cwd: '../bootstrap/docs/_plugins', // cwd: '../bootstrap/docs/_plugins',

View File

@ -201,7 +201,21 @@ let bsDocs = [
}, },
dest: 'docs/_plugins/' dest: 'docs/_plugins/'
}), }),
new Copy(gulp, docsPreset, docsConfig, {
task: {name: 'copy:bs-docs-js-vendor'},
source: {
options: {cwd: '../bootstrap/docs/assets/js/vendor'},
glob: [
'**/*',
'!tether.min.js',
'!jquery.min.js'
]
},
dest: 'docs/assets/js/vendor/'
}),
] ]
new TaskSeries(gulp, 'docs:copy-bs', bsDocs) new TaskSeries(gulp, 'docs:copy-bs', bsDocs)