diff --git a/rollup.config.js b/rollup.config.js index 34fcd3e8..5e005a23 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -57,13 +57,7 @@ export default [{ name: 'Y', file: 'dist/yjs.mjs', format: 'esm', - sourcemap: true, - paths: path => { - if (/^lib0\//.test(path)) { - return `lib0/dist/${path.slice(5, -3)}.cjs` - } - return path - } + sourcemap: true }, external: id => /^lib0\//.test(id) }, {