create-chrome-ext icon indicating copy to clipboard operation
create-chrome-ext copied to clipboard

Zip method doesn't add files, only folders

Open Maclay74 opened this issue 1 year ago • 0 comments

So I faced this problem running npm run zip.

I added build/** to fix this, not sure how it worked earlier.

gulp
  .src('build/**')
  .pipe(zip(`${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`))
  .pipe(gulp.dest('package'))

Some docs

Maclay74 avatar Mar 18 '24 11:03 Maclay74