From 45f8cfafdda8bf492f21755dd5ec2723d6970588 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Sat, 19 Feb 2022 16:44:11 -0500 Subject: [PATCH] Simplify zip file build pipeline --- gulpfile.esm.js | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/gulpfile.esm.js b/gulpfile.esm.js index c00c933..c04dd7f 100644 --- a/gulpfile.esm.js +++ b/gulpfile.esm.js @@ -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( '.' ) ); }