We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
manifest.json
uni-app/packages/uni-cli-shared/src/json/manifest.ts
Line 14 in 3ffdca2
cli 时经常需要将 manifest.json 加入 manifest.json 以隐藏关键配置,以及使用 @uni-helper/vite-plugin-uni-manifest 管理 manifest.json
@uni-helper/vite-plugin-uni-manifest
在 HBuilderX 中本身就会因为 manifest.json 为空会爆红
HBuilderX
在以上判断时如果 manifest.json 文件不存在,则创建一个空的 manifest.json 文件,让后续运行拿不到配置项时再报错,而不是在打包时就报错
Tip
配置项应该依赖运行时环境而不是打包时
The text was updated successfully, but these errors were encountered:
可以使用 @waset/uni-reset-manifest
Sorry, something went wrong.
No branches or pull requests
uni-app/packages/uni-cli-shared/src/json/manifest.ts
Line 14 in 3ffdca2
cli
cli 时经常需要将
manifest.json
加入manifest.json
以隐藏关键配置,以及使用@uni-helper/vite-plugin-uni-manifest
管理manifest.json
HBuilderX
在
HBuilderX
中本身就会因为manifest.json
为空会爆红建议
在以上判断时如果
manifest.json
文件不存在,则创建一个空的manifest.json
文件,让后续运行拿不到配置项时再报错,而不是在打包时就报错Tip
配置项应该依赖运行时环境而不是打包时
The text was updated successfully, but these errors were encountered: