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() {
|
||||
return src( [
|
||||
'**/*',
|
||||
'!src/**',
|
||||
'!node_modules/**',
|
||||
'!README.md',
|
||||
'!.*',
|
||||
'!package.json',
|
||||
'!yarn.lock',
|
||||
'!webpack.config.*',
|
||||
'!tsconfig.*',
|
||||
'!gulpfile.*',
|
||||
] )
|
||||
'dist/**/*',
|
||||
'templates/**/*',
|
||||
'tinymce/**/*',
|
||||
'*.php',
|
||||
'LICENSE',
|
||||
'readme.txt',
|
||||
'screenshot*.png',
|
||||
], {
|
||||
base: './',
|
||||
} )
|
||||
.pipe( zip( `cognito-forms-${ pjson.version }.zip` ) )
|
||||
.pipe( dest( '.' ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue