![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/vreg/node_modules/@bugsnag/js/ |
# @bugsnag/js Universal JavaScript notifier. This package contains both `@bugsnag/browser` and `@bugsnag/node` and the appropriate one will be included in your application. ## Node.js In Node, importing `'@bugsnag/js'` will provide the [`@bugsnag/node`](../node) module. ## Browser In various bundlers, importing `'@bugsnag/js'` will provide the [`@bugsnag/browser`](../browser) module. | Bundler | Support | | ---------- | -------------- | | Browserify | Supports the package.json `"browser"` field by default | | Webpack | Supports the package.json `"browser"` field by default | | Rollup | Set `browser: true` in the [node-resolve plugin](https://github.com/rollup/rollup-plugin-node-resolve) | **Note**: by using this browser-specific entrypoint, none of the node-specific code will be included in your bundle. ## License This package is free software released under the MIT License. See [LICENSE.txt](./LICENSE.txt) for details.