diff --git a/.rollup/index.mjs b/.rollup/index.mjs index ad9fd7128..24605f46b 100644 --- a/.rollup/index.mjs +++ b/.rollup/index.mjs @@ -49,6 +49,7 @@ function createRollupConfig (options = defaultOptions()) { } }), typescript({ + removeComments: true, // don't output anything if there's a TS error noEmitOnError: true, // turn on declaration files and declaration maps diff --git a/tsconfig.json b/tsconfig.json index ca14ba1a2..b236ba904 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -95,7 +95,6 @@ "packages/browser" ], "exclude": [ - "packages/react-native/src/NativeBugsnag.ts", - "packages/**/dist/**/*.js" + "packages/react-native/src/NativeBugsnag.ts" ] }