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: compiler.outputFileSystem.writeFile #1397

Closed

Conversation

wangshunnn
Copy link
Collaborator

node@20, [email protected]环境下编译输出 ali 小程序,输出某个文件时,第三个参数实际为 'utf8',第四个参数为预期的 callback 回调。
原因:compiler.outputFileSystem.writeFile 原始方法有不同的重载签名,参考:fs.writeFile(file, data[, options], callback)

@wangshunnn wangshunnn closed this Jan 30, 2024
@wangshunnn wangshunnn changed the title fix: 重写compiler.outputFileSystem.writeFile方法时适配其可选参数 fix: compiler.outputFileSystem.writeFile Jan 30, 2024
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