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

执行build script,若项目全路径含src,输出的style.scss路径不符合预期 #7

Open
wanghongcheng0302 opened this issue Feb 9, 2023 · 0 comments · May be fixed by #9
Open

Comments

@wanghongcheng0302
Copy link

wanghongcheng0302 commented Feb 9, 2023

出问题的地方在@formily/template/src/build/copy-style-files.ts,我认为应该先执行replace的逻辑,然后再获取distPathEs和distPathLib的绝对路径。

image

wanghongcheng0302 added a commit to wanghongcheng0302/template that referenced this issue Feb 9, 2023
修复当项目全路径含src时,编译产生的样式文件的路径不符合预期

fix formilyjs#7
wanghongcheng0302 added a commit to wanghongcheng0302/template that referenced this issue Feb 9, 2023
修复当项目全路径含src时,编译产生的样式文件的路径不符合预期的问题

fix formilyjs#7
@wanghongcheng0302 wanghongcheng0302 linked a pull request Feb 9, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant