We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c9104 commit 297104cCopy full SHA for 297104c
packages/rrweb/rollup.config.js
@@ -125,6 +125,7 @@ function getPlugins(options = {}) {
125
webWorkerLoader({
126
targetPlatform: 'browser',
127
inline: true,
128
+ preserveSource: true,
129
sourceMap,
130
}),
131
esbuild({
@@ -144,7 +145,11 @@ for (const c of baseConfigs) {
144
145
resolve({ browser: true }),
146
147
// supports bundling `web-worker:..filename`
- webWorkerLoader({ targetPlatform: 'browser' }),
148
+ webWorkerLoader({
149
+ targetPlatform: 'browser',
150
+ inline: true,
151
152
+ }),
153
154
typescript(),
155
];
0 commit comments