Simplify zip file build pipeline
This commit is contained in:
parent
d9888842b6
commit
45f8cfafdd
|
@ -4,17 +4,16 @@ import pjson from './package.json';
|
||||||
|
|
||||||
export default function() {
|
export default function() {
|
||||||
return src( [
|
return src( [
|
||||||
'**/*',
|
'dist/**/*',
|
||||||
'!src/**',
|
'templates/**/*',
|
||||||
'!node_modules/**',
|
'tinymce/**/*',
|
||||||
'!README.md',
|
'*.php',
|
||||||
'!.*',
|
'LICENSE',
|
||||||
'!package.json',
|
'readme.txt',
|
||||||
'!yarn.lock',
|
'screenshot*.png',
|
||||||
'!webpack.config.*',
|
], {
|
||||||
'!tsconfig.*',
|
base: './',
|
||||||
'!gulpfile.*',
|
} )
|
||||||
] )
|
|
||||||
.pipe( zip( `cognito-forms-${ pjson.version }.zip` ) )
|
.pipe( zip( `cognito-forms-${ pjson.version }.zip` ) )
|
||||||
.pipe( dest( '.' ) );
|
.pipe( dest( '.' ) );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue