diff --git a/src/index.js b/src/index.js index e5bb9d6..20b1a65 100644 --- a/src/index.js +++ b/src/index.js @@ -17,7 +17,7 @@ module.exports = class SentryPlugin { ? options.release() : options.release - this.include = options.include + this.include = options.include || /\.js$|\.map$/ this.exclude = options.exclude this.filenameTransform = options.filenameTransform || DEFAULT_TRANSFORM