From 1d5013961e395927368f13b3b8fff4ab07c7eb9c Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Tue, 28 Apr 2020 14:58:29 +0200 Subject: [PATCH] Update task dist Fixes #1066 --- gulpconfig.json | 4 ++-- gulpfile.js | 15 ++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/gulpconfig.json b/gulpconfig.json index 47fa403..2a3a205 100644 --- a/gulpconfig.json +++ b/gulpconfig.json @@ -10,8 +10,8 @@ "img": "./img", "imgsrc": "./src/img", "sass": "./sass", - "node": "./node_modules/", - "bower": "./bower_components/", + "node": "./node_modules", + "composer": "./vendor", "dev": "./src", "dist": "./dist", "distprod": "./dist-product", diff --git a/gulpfile.js b/gulpfile.js index 5c4c28c..16360a8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -242,8 +242,6 @@ gulp.task( .src( [ '**/*', - `!${paths.bower}`, - `!${paths.bower}/**`, `!${paths.node}`, `!${paths.node}/**`, `!${paths.dev}`, @@ -254,17 +252,12 @@ gulp.task( `!${paths.distprod}/**`, `!${paths.sass}`, `!${paths.sass}/**`, + `!${paths.composer}`, + `!${paths.composer}/**`, '!readme.txt', - '!readme.md', - '!package.json', - '!package-lock.json', - '!gulpfile.js', - '!gulpconfig.json', + '!README.md', + '!*.+(json|js|lock|xml)', '!CHANGELOG.md', - '!.travis.yml', - '!jshintignore', - '!codesniffer.ruleset.xml', - '*' ], { buffer: true } )