umi-plugin-sentry

0.1.1 • Public • Published

umi-plugin-sentry

NPM version

Umi plugin for sentry.

Install

yarn add --dev umi-plugin-sentry # OR npm install --save-dev umi-plugin-sentry 

Use

Just setup the plugin on .umirc.js

export default {
  plugins: [
    // ...
    ['umi-plugin-sentry', options],
    // ...
  ],
}

Options

name type default
dsn string (required in production) process.env.SENTRY_DSN
log (log to console before send) boolean (optional) NODE_ENV === 'development' ? true : false

Package Sidebar

Install

npm i umi-plugin-sentry

Weekly Downloads

7

Version

0.1.1

License

MIT

Unpacked Size

7.81 kB

Total Files

6

Last publish

Collaborators

  • lemol.ls