Skip to content

Commit

Permalink
ref(integrations): remove offline integration
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Removes the already deprecated offline integration.
  • Loading branch information
koddsson committed Feb 7, 2024
1 parent 5022f2f commit 0011cc7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 410 deletions.
8 changes: 1 addition & 7 deletions packages/integrations/rollup.bundle.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import commonjs from '@rollup/plugin-commonjs';

import { insertAt, makeBaseBundleConfig, makeBundleConfigVariants } from '@sentry-internal/rollup-utils';
import { makeBaseBundleConfig, makeBundleConfigVariants } from '@sentry-internal/rollup-utils';

const builds = [];

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

// TODO We only need `commonjs` for localforage (used in the offline plugin). Once that's fixed, this can come out.
// CommonJS plugin docs: https://github.com/rollup/plugins/tree/master/packages/commonjs
baseBundleConfig.plugins = insertAt(baseBundleConfig.plugins, -2, commonjs());

// this makes non-minified, minified, and minified-with-debug-logging versions of each bundle
builds.push(...makeBundleConfigVariants(baseBundleConfig));

Expand Down
1 change: 0 additions & 1 deletion packages/integrations/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export { CaptureConsole, captureConsoleIntegration } from './captureconsole';
export { Debug, debugIntegration } from './debug';
export { Dedupe, dedupeIntegration } from './dedupe';
export { ExtraErrorData, extraErrorDataIntegration } from './extraerrordata';
export { Offline } from './offline';
export { ReportingObserver, reportingObserverIntegration } from './reportingobserver';
export { RewriteFrames, rewriteFramesIntegration } from './rewriteframes';
export { SessionTiming, sessionTimingIntegration } from './sessiontiming';
Expand Down
181 changes: 0 additions & 181 deletions packages/integrations/src/offline.ts

This file was deleted.

Loading

0 comments on commit 0011cc7

Please sign in to comment.