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
Labels
enhancement
New feature or request
Comments
This was referenced May 4, 2024
This was referenced May 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个特性解决了什么问题?
使项目结构向标准 vite 项目靠拢
这个 API 长什么样?
制作插件
vite-plugin-taro
,然后在vite.config.ts
中引入该插件,插件参数为 taro 配置项,有些配置项可以委托给 vite,例如 “sourceRoot”、“outputRoot”、”compiler“、”cssModules“、“staticDirectory” 等The text was updated successfully, but these errors were encountered: