From e48c601d781e664eff0e7987602f0407faaa042f Mon Sep 17 00:00:00 2001 From: Zach Silveira Date: Tue, 7 Mar 2017 21:00:27 -0500 Subject: [PATCH] Add default include regex --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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