Update task dist

Fixes #1066
This commit is contained in:
IanDelMar 2020-04-28 14:58:29 +02:00
parent 7e61a803f1
commit 1d5013961e
2 changed files with 6 additions and 13 deletions

View File

@ -10,8 +10,8 @@
"img": "./img", "img": "./img",
"imgsrc": "./src/img", "imgsrc": "./src/img",
"sass": "./sass", "sass": "./sass",
"node": "./node_modules/", "node": "./node_modules",
"bower": "./bower_components/", "composer": "./vendor",
"dev": "./src", "dev": "./src",
"dist": "./dist", "dist": "./dist",
"distprod": "./dist-product", "distprod": "./dist-product",

View File

@ -242,8 +242,6 @@ gulp.task(
.src( .src(
[ [
'**/*', '**/*',
`!${paths.bower}`,
`!${paths.bower}/**`,
`!${paths.node}`, `!${paths.node}`,
`!${paths.node}/**`, `!${paths.node}/**`,
`!${paths.dev}`, `!${paths.dev}`,
@ -254,17 +252,12 @@ gulp.task(
`!${paths.distprod}/**`, `!${paths.distprod}/**`,
`!${paths.sass}`, `!${paths.sass}`,
`!${paths.sass}/**`, `!${paths.sass}/**`,
`!${paths.composer}`,
`!${paths.composer}/**`,
'!readme.txt', '!readme.txt',
'!readme.md', '!README.md',
'!package.json', '!*.+(json|js|lock|xml)',
'!package-lock.json',
'!gulpfile.js',
'!gulpconfig.json',
'!CHANGELOG.md', '!CHANGELOG.md',
'!.travis.yml',
'!jshintignore',
'!codesniffer.ruleset.xml',
'*'
], ],
{ buffer: true } { buffer: true }
) )