import { defineManifestConfig } from "@uni-helper/vite-plugin-uni-manifest";
export default defineManifestConfig({
  name: "sports-merchant-minapp",
  appid: "",
  description: "",
  versionName: "1.0.0",
  versionCode: "100",
  transformPx: false,
  /* 5+App特有相关 */
  "app-plus": {
    usingComponents: true,
    nvueStyleCompiler: "uni-app",
    compilerVersion: 3,
    splashscreen: {
      alwaysShowBeforeRender: true,
      waiting: true,
      autoclose: true,
      delay: 0,
    },
    /* 模块配置 */
    modules: {},
    /* 应用发布信息 */
    distribute: {
      /* android打包配置 */
      android: {
        permissions: [
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
          '',
        ],
      },
      /* ios打包配置 */
      ios: {},
      /* SDK配置 */
      sdkConfigs: {},
    },
  },
  /* 快应用特有相关 */
  quickapp: {},
  /* 小程序特有相关 */
  "mp-weixin": {
    appid: "wxe70e6c132e5b4c28",
    setting: {
      urlCheck: false,
    },
    usingComponents: true,
    darkmode: false,
    themeLocation: "theme.json",
    requiredPrivateInfos: ["getLocation"],
    permission: {
      "scope.userLocation": {
        desc: "将获取你的位置,以添加到水印相机",
      },
    },
  },
  "mp-alipay": {
    usingComponents: true,
    compileOptions: {
      globalObjectMode: "enable",
      treeShaking: true,
    },
  },
  "mp-baidu": {
    usingComponents: true,
  },
  "mp-toutiao": {
    usingComponents: true,
  },
  h5: {
    darkmode: true,
    themeLocation: "theme.json",
  },
  uniStatistics: {
    enable: false,
  },
  vueVersion: "3",
});