checking gulpfile.js
This commit is contained in:
parent
c19da9fb4b
commit
9bc4789a39
|
@ -165,11 +165,9 @@ gulp.task('scripts', function() {
|
||||||
// gulp copy-assets.
|
// gulp copy-assets.
|
||||||
// Copy all needed dependency assets files from bower_component assets to themes /js, /scss and /fonts folder. Run this task after bower install or bower update
|
// Copy all needed dependency assets files from bower_component assets to themes /js, /scss and /fonts folder. Run this task after bower install or bower update
|
||||||
|
|
||||||
|
|
||||||
////////////////// All Bootstrap SASS Assets /////////////////////////
|
////////////////// All Bootstrap SASS Assets /////////////////////////
|
||||||
gulp.task('copy-assets', function() {
|
gulp.task('copy-assets', function() {
|
||||||
|
|
||||||
|
|
||||||
////////////////// All Bootstrap 4 Assets /////////////////////////
|
////////////////// All Bootstrap 4 Assets /////////////////////////
|
||||||
// Copy all Bootstrap JS files
|
// Copy all Bootstrap JS files
|
||||||
gulp.src(basePaths.bower + 'bootstrap/dist/js/**/*.js')
|
gulp.src(basePaths.bower + 'bootstrap/dist/js/**/*.js')
|
||||||
|
@ -217,7 +215,9 @@ gulp.task('copy-assets', function() {
|
||||||
.pipe(gulp.dest(basePaths.dev + '/css'));
|
.pipe(gulp.dest(basePaths.dev + '/css'));
|
||||||
});
|
});
|
||||||
|
|
||||||
// Run // gulp dist // Copies the files to the dist folder for distributon
|
// Run
|
||||||
|
// gulp dist
|
||||||
|
// Copies the files to the /dist folder for distributon
|
||||||
gulp.task('dist', function() {
|
gulp.task('dist', function() {
|
||||||
gulp.src(['!sass','!bower_components', '!node_modules','!src','!dist','!bower.json', '!gulpfile.js', '!package.json', '*'])
|
gulp.src(['!sass','!bower_components', '!node_modules','!src','!dist','!bower.json', '!gulpfile.js', '!package.json', '*'])
|
||||||
.pipe(gulp.dest('dist/'))
|
.pipe(gulp.dest('dist/'))
|
||||||
|
|
Reference in New Issue