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",
"imgsrc": "./src/img",
"sass": "./sass",
"node": "./node_modules/",
"bower": "./bower_components/",
"node": "./node_modules",
"composer": "./vendor",
"dev": "./src",
"dist": "./dist",
"distprod": "./dist-product",

View File

@ -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 }
)