Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitceae246

Browse files
committed
correct lib0 cjs file rewrite
1 parentb2a8acd commitceae246

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎rollup.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ export default [{
5555
sourcemap:true,
5656
paths:path=>{
5757
if(/^lib0\//.test(path)){
58-
return`lib0/dist/${path.slice(5)}`
58+
return`lib0/dist/${path.slice(5,-3)}.cjs`
59+
}
60+
if(/^y-protocols\//.test(path)){
61+
return`y-protocols/dist/${path.slice(12,-3)}.cjs`
5962
}
6063
returnpath
6164
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp