Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Usage with bundlers #45

Open
ewnd9 opened this issue Feb 16, 2016 · 0 comments
Open

Usage with bundlers #45

ewnd9 opened this issue Feb 16, 2016 · 0 comments
Labels

Comments

@ewnd9
Copy link

ewnd9 commented Feb 16, 2016

It would be nice to have usage examples with bundlers in README.md

E.g. webpack

const opbeat = require('opbeat-js');
opbeat.config({
  orgId: '', // Your Opbeat org id
  appId: '' // Your Opbeat app id
});

opbeat.captureException(new Error('error'));
@hmdhk hmdhk added the docs label Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants