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

fix: 修复customSplitting #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cherish553
Copy link

import-meta-resolve 的 resolve中使用new URL,cwd拿到的地址目录解析,如果不携带 '/',则会解析出错误的地址
例如: new URL('./node_modules/react','file:///xx/project').href === 'file:///xx/node_modules/react'

@minbaby
Copy link

minbaby commented Aug 29, 2024

这个好像和 #41 有关系,应该是路径解析的问题

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

Successfully merging this pull request may close these issues.

2 participants