use non-explicit resolution for lib0

This commit is contained in:
Kevin Jahns
2021-05-14 18:53:24 +02:00
parent 4047890a6e
commit 7bd764fba7
45 changed files with 123 additions and 121 deletions

View File

@@ -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
}