2.0.5 • Published 3 years ago
@errortracker/js v2.0.5
@errortracker/js
Universal JavaScript notifier.
This package contains both @errortracker/web
and @errortracker/node
and the appropriate one will be included in your application.
Node.js
In Node, importing '@errortracker/js'
will provide the @errortracker/node
module.
Browser
In various bundlers, importing '@errortracker/js'
will provide the @errortracker/web
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 |
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 for details.