Skip to content

Commit c667325

Browse files
committed
cleanup config, re-add import type
1 parent b9d9828 commit c667325

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/replay/rollup.bundle.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,9 @@ const baseBundleConfig = makeBaseBundleConfig({
1919
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
2020
},
2121
}),
22+
// lodash.debounce is a CJS module, so we need to convert it to ESM first
2223
commonjs(),
2324
],
24-
output: {
25-
// set exports to 'named' or 'auto' so that rollup doesn't warn about
26-
// the default export in `worker/worker.js`
27-
exports: 'auto',
28-
},
2925
},
3026
});
3127

packages/replay/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { deleteSession } from './session/deleteSession';
2323
import { getSession } from './session/getSession';
2424
import { saveSession } from './session/saveSession';
2525
import { Session } from './session/Session';
26-
import {
26+
import type {
2727
AllPerformanceEntry,
2828
InstrumentationTypeBreadcrumb,
2929
InstrumentationTypeSpan,

0 commit comments

Comments
 (0)