Skip to content

Commit

Permalink
fix(build): publish bundle and umd files with jose-browser-runtime mo…
Browse files Browse the repository at this point in the history
…dule

Fixes #571
  • Loading branch information
panva committed Sep 4, 2023
1 parent 3a5a892 commit 62fcbcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/publish-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ delete pkg.keywords

pkg.files.push('!dist/**/package.json')
pkg.files.push('!dist/node/**/*')
pkg.files.push('dist/**/*.bundle.js')
pkg.files.push('dist/**/*.umd.js')
pkg.files.push('dist/**/*.min.js')
pkg.name = 'jose-browser-runtime'
pkg.type = 'module'

Expand Down

0 comments on commit 62fcbcc

Please sign in to comment.