Skip to content

Commit

Permalink
update bundle script
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed May 4, 2023
1 parent 2e49a51 commit 0edd308
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ export default [{
name: 'Y',
file: 'dist/y-indexeddb.cjs',
format: 'cjs',
sourcemap: true,
paths: path => {
if (/^lib0\//.test(path)) {
return `lib0/dist/${path.slice(5, -3)}.cjs`
}
return path
}
sourcemap: true
},
external: id => /^(lib0|yjs)\//.test(id)
}]

0 comments on commit 0edd308

Please sign in to comment.