Skip to content

Commit 8b0bc87

Browse files
committed
remove commonjs() rollup plugin
1 parent b7ae986 commit 8b0bc87

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

packages/replay/rollup.bundle.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import commonjs from '@rollup/plugin-commonjs';
21
import replace from '@rollup/plugin-replace';
32

43
import { makeBaseBundleConfig, makeBundleConfigVariants } from '../../rollup/index.js';
@@ -19,8 +18,6 @@ const baseBundleConfig = makeBaseBundleConfig({
1918
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
2019
},
2120
}),
22-
// lodash.debounce is a CJS module, so we need to convert it to ESM first
23-
commonjs(),
2421
],
2522
},
2623
});

packages/replay/rollup.npm.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import path from 'path';
22

3-
import commonjs from '@rollup/plugin-commonjs';
43
import replace from '@rollup/plugin-replace';
54

65
import { makeBaseNPMConfig, makeNPMConfigVariants } from '../../rollup/index';
@@ -19,8 +18,6 @@ export default makeNPMConfigVariants(
1918
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
2019
},
2120
}),
22-
// lodash.debounce is a CJS module, so we need to convert it to ESM first
23-
commonjs(),
2421
],
2522
output: {
2623
// set exports to 'named' or 'auto' so that rollup doesn't warn about

packages/replay/src/replay.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,6 @@ export class ReplayContainer implements ReplayContainerInterface {
873873
// It's possible there are other flush requests queued and waiting for it
874874
// to resolve. We want to reduce all outstanding requests (as well as any
875875
// new flush requests that occur within a second of the locked flush
876-
// completing) into a single flush.thin a second of the locked flush
877876
// completing) into a single flush.
878877

879878
try {

0 commit comments

Comments
 (0)