Skip to content

Commit

Permalink
fix(build): add a node target for jose-browser-runtime releases
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 4, 2023
1 parent 92a871a commit abb63d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/publish-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ delete pkg.main
delete pkg.exports['.'].import
delete pkg.exports['.'].require
delete pkg.keywords
pkg.exports['.'].node = pkg.exports['.'].browser

pkg.files.push('!dist/**/package.json')
pkg.files.push('!dist/node/**/*')
Expand Down

0 comments on commit abb63d0

Please sign in to comment.