Readme tweaks
This commit is contained in:
Родитель
01f27594b2
Коммит
185949c3fa
|
@ -16,7 +16,7 @@ npm install --save-dev webpack-bugsnag-plugins
|
|||
const { BugsnagBuildReporterPlugin } = require('webpack-bugsnag-plugins')
|
||||
```
|
||||
|
||||
## `BugsnagBuildReporterPlugin(build, opts): stream`
|
||||
### `BugsnagBuildReporterPlugin(build, opts): stream`
|
||||
|
||||
Reports your application's build to Bugsnag. It can auto detect source control from `.git`, `.hg` and `package.json`.
|
||||
This plugin hooks into the `'after-emit'` event once all output files have been generated by the Webpack compiler. If anything causes the compilation to fail before this step, the build report will not get sent.
|
||||
|
@ -37,7 +37,7 @@ This plugin hooks into the `'after-emit'` event once all output files have been
|
|||
- `path: string` the path to search for source control info, defaults to `process.cwd()`
|
||||
- `endpoint: string` post the build payload to a URL other than the default (`https://build.bugsnag.com`)
|
||||
|
||||
### Usage
|
||||
#### Usage
|
||||
|
||||
```js
|
||||
const { BugsnagBuildReporterPlugin } = require('webpack-bugsnag-plugins')
|
||||
|
|
Загрузка…
Ссылка в новой задаче