build: 生产环境构建 (ENV=prod) - 新设计系统
- 使用 --dart-define=ENV=prod 参数 - API 指向生产环境: http://8.155.172.147:5010 - 应用新设计系统 - 字体 tree-shaking 优化完成 * MaterialIcons: 减少 99.4% (1.6MB → 9KB) * Lucide 图标: 减少 5-12% - WebAssembly dry run 成功
This commit is contained in:
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"e4b8dca3f1b4ede4c30371002441c88c12187e
|
||||
|
||||
_flutter.loader.load({
|
||||
serviceWorkerSettings: {
|
||||
serviceWorkerVersion: "3442651337" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
||||
serviceWorkerVersion: "2149079038" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user