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 660d4bb commit fb62634Copy full SHA for fb62634
packages/replay/rollup.npm.config.js
@@ -1,5 +1,3 @@
1
-import path from 'path';
2
-
3
import replace from '@rollup/plugin-replace';
4
5
import { makeBaseNPMConfig, makeNPMConfigVariants } from '../../rollup/index';
@@ -23,12 +21,7 @@ export default makeNPMConfigVariants(
23
21
// set exports to 'named' or 'auto' so that rollup doesn't warn about
24
22
// the default export in `worker/worker.js`
25
exports: 'named',
26
27
- // As we are inlining the rrweb dependency here, we need to ensure the nested folders are correct
28
- // Without this config, you get:
29
- // * build/npm/esm/node_modules/rrweb/...
30
- // * build/npm/esm/packages/replay/...
31
- preserveModulesRoot: path.join(process.cwd(), 'src'),
+ preserveModules: false,
32
},
33
34
}),
0 commit comments