mirror of
https://github.com/yjs/yjs.git
synced 2025-12-16 03:37:50 +01:00
use non-explicit resolution for lib0
This commit is contained in:
@@ -45,7 +45,7 @@ export default [{
|
||||
sourcemap: true,
|
||||
paths: path => {
|
||||
if (/^lib0\//.test(path)) {
|
||||
return `lib0/dist/${path.slice(5, -3)}.cjs`
|
||||
return `lib0/dist/${path.slice(5)}.cjs`
|
||||
}
|
||||
return path
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user