Skip to content

Commit

Permalink
Removing Twig Components Function from Gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
caccamojr committed Aug 20, 2021
1 parent 487c539 commit ccbff0f
Show file tree
Hide file tree
Showing 3 changed files with 2,644 additions and 2,824 deletions.
9 changes: 1 addition & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ gulp.task('cleanNDSSource', (cb) => {
'./src/images/global/**/*',
'./src/js/libraries/**/*',
'./src/js/utilities/**/*',
'./src/_twig-components/**/*',
'./src/webfonts/font-awesome/**/*',
'./src/webfonts/martel/**/*',
'./src/webfonts/merriweather/**/*',
Expand Down Expand Up @@ -289,12 +288,6 @@ gulp.task('copyGlobalFonts', () => {
return gulp.src(srcPath + 'src/webfonts/public-sans/*').pipe(gulp.dest('./src/webfonts/public-sans/'));
});

// GULP: copyGlobalTwigComponents - Copy Twig Components into Project
gulp.task('copyGlobalTwigComponents', () => {
console.log("Transferring Assets from Global Twig Components ...");
return gulp.src(srcPath + 'src/_twig-components/**/*').pipe(gulp.dest('./src/_twig-components/'));
});

// GULP: serveProject - Serves project locally and watches files for changes.
gulp.task('serveProject', function() {
browserSync.init({
Expand All @@ -311,7 +304,7 @@ gulp.task('serveProject', function() {
// GULP AGGREGATES

// GULP: transfer - Transfers official NDS assets to appropriate locations.
gulp.task('transfer', gulp.series('copyFontAwesome', 'copyGlobalFonts', 'copyGlobalImages', 'copyGlobalSass', 'copyGlobalJS', 'copyGlobalPatterns', 'copyGlobalTwigComponents'));
gulp.task('transfer', gulp.series('copyFontAwesome', 'copyGlobalFonts', 'copyGlobalImages', 'copyGlobalSass', 'copyGlobalJS', 'copyGlobalPatterns'));

// GULP: compile - Compiles the local project assets.
gulp.task('compile', gulp.series('compileSass', 'computeIncludedJSFiles', 'compileJS', 'compilePatternLab'));
Expand Down
Loading

0 comments on commit ccbff0f

Please sign in to comment.