Skip to content

Commit 859fcca

Browse files
committed
Fix imports
1 parent c7407fd commit 859fcca

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

packages/bundler-plugins/src/core/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { transformAsync } from "@babel/core";
22
import componentNameAnnotatePlugin, {
33
experimentalComponentNameAnnotatePlugin,
4-
} from "@sentry/babel-plugin-component-annotate";
4+
} from "../babel-plugin";
55
import SentryCli from "@sentry/cli";
66
import { debug } from "@sentry/core";
77
import * as fs from "fs";

packages/bundler-plugins/src/esbuild/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import type { Options } from "@sentry/bundler-plugin-core";
1+
import type { Options } from "../core";
22
import {
33
createSentryBuildPluginManager,
44
generateReleaseInjectorCode,
55
generateModuleMetadataInjectorCode,
66
getDebugIdSnippet,
77
createDebugIdUploadFunction,
88
CodeInjection,
9-
} from "@sentry/bundler-plugin-core";
9+
} from "../core";
1010
import * as path from "node:path";
1111
import { createRequire } from "node:module";
1212
import { randomUUID } from "node:crypto";
@@ -308,5 +308,5 @@ export function sentryEsbuildPlugin(userOptions: Options = {}): any {
308308

309309
// eslint-disable-next-line @typescript-eslint/no-explicit-any
310310
export default sentryEsbuildPlugin;
311-
export type { Options as SentryEsbuildPluginOptions } from "@sentry/bundler-plugin-core";
312-
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
311+
export type { Options as SentryEsbuildPluginOptions } from "../core";
312+
export { sentryCliBinaryExists } from "../core";

packages/bundler-plugins/src/rollup/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Options } from "@sentry/bundler-plugin-core";
1+
import type { Options } from "../core";
22
import {
33
createSentryBuildPluginManager,
44
generateReleaseInjectorCode,
@@ -13,7 +13,7 @@ import {
1313
createComponentNameAnnotateHooks,
1414
replaceBooleanFlagsInCode,
1515
CodeInjection,
16-
} from "@sentry/bundler-plugin-core";
16+
} from "../core";
1717
import type { SourceMap } from "magic-string";
1818
import MagicString from "magic-string";
1919
import type { TransformResult } from "rollup";
@@ -261,5 +261,5 @@ export function sentryRollupPlugin(userOptions: Options = {}): any {
261261
return [_rollupPluginInternal(userOptions, "rollup")];
262262
}
263263

264-
export type { Options as SentryRollupPluginOptions } from "@sentry/bundler-plugin-core";
265-
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
264+
export type { Options as SentryRollupPluginOptions } from "../core";
265+
export { sentryCliBinaryExists } from "../core";

packages/bundler-plugins/src/vite/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { SentryRollupPluginOptions } from "@sentry/rollup-plugin";
2-
import { _rollupPluginInternal } from "@sentry/rollup-plugin";
1+
import type { SentryRollupPluginOptions } from "../rollup";
2+
import { _rollupPluginInternal } from "../rollup";
33
import { createRequire } from "node:module";
44

55
interface SentryVitePlugin {
@@ -30,5 +30,5 @@ export const sentryVitePlugin = (options?: SentryRollupPluginOptions): SentryVit
3030
];
3131
};
3232

33-
export type { Options as SentryVitePluginOptions } from "@sentry/bundler-plugin-core";
34-
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
33+
export type { Options as SentryVitePluginOptions } from "../core";
34+
export { sentryCliBinaryExists } from "../core";

packages/bundler-plugins/src/webpack/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ export const sentryWebpackPlugin: (options?: SentryWebpackPluginOptions) => any
1313
DefinePlugin,
1414
});
1515

16-
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
16+
export { sentryCliBinaryExists } from "../core";
1717

1818
export type { SentryWebpackPluginOptions };

packages/bundler-plugins/src/webpack/webpack5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ const createSentryWebpackPlugin = sentryWebpackPluginFactory();
77
export const sentryWebpackPlugin: (options?: SentryWebpackPluginOptions) => any =
88
createSentryWebpackPlugin;
99

10-
export { sentryCliBinaryExists } from "@sentry/bundler-plugin-core";
10+
export { sentryCliBinaryExists } from "../core";
1111

1212
export type { SentryWebpackPluginOptions };

0 commit comments

Comments
 (0)