mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-29 21:14:13 +03:00
bsDocs js vendor copy
This commit is contained in:
parent
76cc724b56
commit
c7e8aefd94
20
Gruntfile.js
20
Gruntfile.js
|
@ -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',
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user