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

制作 vite 插件 #15610

Open
ianzone opened this issue May 2, 2024 · 0 comments
Open

制作 vite 插件 #15610

ianzone opened this issue May 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ianzone
Copy link

ianzone commented May 2, 2024

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

使项目结构向标准 vite 项目靠拢

这个 API 长什么样?

制作插件 vite-plugin-taro,然后在 vite.config.ts 中引入该插件,插件参数为 taro 配置项,有些配置项可以委托给 vite,例如 “sourceRoot”、“outputRoot”、”compiler“、”cssModules“、“staticDirectory” 等

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant