-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
chore(build): make writefile path compatible posix and windows system #13270
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SimenB I can confirm the build error and that this fixes it
(my local had gotten confused because my fork was made before the repo switched to main
🙄)
Co-authored-by: Gareth Jones <Jones258@Gmail.com>
scripts/bundleTs.mjs
Outdated
const {sep} = path; | ||
const replaceDirReg = new RegExp(`(?<=\\${sep})(dist)(?=\\${sep})`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SimenB you'll need to remove this line too
const {sep} = path; | |
const replaceDirReg = new RegExp(`(?<=\\${sep})(dist)(?=\\${sep})`); | |
const {sep} = path; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes,i remove it😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
make writefile path compatible posix and windows system
Closes #13204
Test plan