Skip to content

Commit eb36063

Browse files
committed
fix: 修复 replace-in-file 导入方式
1 parent 4074d00 commit eb36063

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cherry-markdown/build/replacePaths.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import { replaceInFile } from 'replace-in-file';
16+
import pkg from 'replace-in-file';
17+
const { replaceInFile } = pkg;
1718

1819
async function replacePaths() {
1920
try {

0 commit comments

Comments
 (0)