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

Taro 每次重新编译的时候怎么保留历史的编译模式? #17016

Open
imtns opened this issue Dec 14, 2024 · 2 comments
Open

Taro 每次重新编译的时候怎么保留历史的编译模式? #17016

imtns opened this issue Dec 14, 2024 · 2 comments

Comments

@imtns
Copy link

imtns commented Dec 14, 2024

这个特性解决了什么问题?

希望保留历史编译模式

1734143882948
每次uniapp重新编译,他build的文件夹也是会清空,但是微信开发者工具会保留历史编译模式
但是taro重新编译,build文件夹清空后,开发者工具的编译模式全部被清空了,应该怎么设置才能和uniapp一样呢?

这个 API 长什么样?

保留历史编译模式

@LJF123207
Copy link

可以尝试使用 Taro 配置中的 cache 配置项来保持编译状态。Taro 默认会缓存一些编译过程中的结果,在 taro.config.js 文件中确保启用了相关缓存设置。

@TheKonka
Copy link
Member

你打开方式不对,不要直接打开dist文件夹,打开项目目录

This was referenced Dec 21, 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

No branches or pull requests

3 participants