Skip to content

Commit 0011cc7

Browse files
committed
ref(integrations): remove offline integration
BREAKING CHANGE: Removes the already deprecated offline integration.
1 parent 5022f2f commit 0011cc7

File tree

4 files changed

+1
-410
lines changed

4 files changed

+1
-410
lines changed

packages/integrations/rollup.bundle.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import commonjs from '@rollup/plugin-commonjs';
2-
3-
import { insertAt, makeBaseBundleConfig, makeBundleConfigVariants } from '@sentry-internal/rollup-utils';
1+
import { makeBaseBundleConfig, makeBundleConfigVariants } from '@sentry-internal/rollup-utils';
42

53
const builds = [];
64

@@ -15,10 +13,6 @@ const baseBundleConfig = makeBaseBundleConfig({
1513
outputFileBase: ({ name: entrypoint }) => `bundles/${entrypoint}${jsVersion === 'es5' ? '.es5' : ''}`,
1614
});
1715

18-
// TODO We only need `commonjs` for localforage (used in the offline plugin). Once that's fixed, this can come out.
19-
// CommonJS plugin docs: https://github.com/rollup/plugins/tree/master/packages/commonjs
20-
baseBundleConfig.plugins = insertAt(baseBundleConfig.plugins, -2, commonjs());
21-
2216
// this makes non-minified, minified, and minified-with-debug-logging versions of each bundle
2317
builds.push(...makeBundleConfigVariants(baseBundleConfig));
2418

packages/integrations/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export { CaptureConsole, captureConsoleIntegration } from './captureconsole';
33
export { Debug, debugIntegration } from './debug';
44
export { Dedupe, dedupeIntegration } from './dedupe';
55
export { ExtraErrorData, extraErrorDataIntegration } from './extraerrordata';
6-
export { Offline } from './offline';
76
export { ReportingObserver, reportingObserverIntegration } from './reportingobserver';
87
export { RewriteFrames, rewriteFramesIntegration } from './rewriteframes';
98
export { SessionTiming, sessionTimingIntegration } from './sessiontiming';

packages/integrations/src/offline.ts

Lines changed: 0 additions & 181 deletions
This file was deleted.

0 commit comments

Comments
 (0)