Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for monorepo #87

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
added support for monorepo. make sure that whenever we call the binar…
…y we retrieve always the right package location
  • Loading branch information
ricardoribas committed Aug 30, 2023
commit 8d2bd0be671315bcdc8d4e92a96a7e718434bfc8
7 changes: 6 additions & 1 deletion bin/cli
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/usr/bin/env node

require('../dist/bin/cli.js').default(process.argv)
const { dirname, join } = require('path')

require(join(
dirname(require.resolve('@bugsnag/source-maps/package.json')),
'dist/bin/cli.js'
)).default(process.argv)