Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win环境下public文件夹下图片路径中斜杠的问题 #37

Open
heke2929 opened this issue Dec 8, 2022 · 0 comments
Open

win环境下public文件夹下图片路径中斜杠的问题 #37

heke2929 opened this issue Dec 8, 2022 · 0 comments

Comments

@heke2929
Copy link

heke2929 commented Dec 8, 2022

closeBundle方法里, 替换public中的文件路径为空的代码中, 使用了pathe库的pathe.seq, 在win环境下为/, 导致该段代码const filePath = publicFilePath.replace(publicDir + path__default$1.sep, "");并未生效, 致使在public中的图片没有被获取&压缩.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant