diff --git a/README.md b/README.md index 16cce5d..cde1875 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,32 @@ Also, check the [example](example) directory. | sourceMapReference | `boolean` | optional | See above. | | rewrite | `boolean` | optional | See above. | +Example: + +``` +const SentryCliPlugin = require('@sentry/webpack-plugin'); + +const config = { + plugins: [ + new SentryCliPlugin({ + include: [ + { + paths: ['./packages'], + urlPrefix: '~/path/to/packages', + }, + { + paths: ['./client'], + urlPrefix: '~/path/to/client', + }, + ], + ignoreFile: '.sentrycliignore', + ignore: ['node_modules', 'webpack.config.js'], + configFile: 'sentry.properties', + }), + ], +}; +``` + #### options.setCommits: | Option | Type | Required | Description |