liyongli 2 年之前
父節點
當前提交
fea9105184
共有 2 個文件被更改,包括 24 次插入53 次删除
  1. 19 25
      project.config.json
  2. 5 28
      project.private.config.json

+ 19 - 25
project.config.json

@@ -1,12 +1,9 @@
 {
-  "description": "项目配置文件",
-  "packOptions": {
-    "ignore": []
-  },
+  "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "setting": {
     "urlCheck": true,
-    "es6": true,
-    "enhance": false,
+    "es6": false,
+    "enhance": true,
     "postcss": true,
     "preloadBackgroundData": false,
     "minified": true,
@@ -22,38 +19,26 @@
     "uploadWithSourceMap": true,
     "compileHotReLoad": false,
     "useMultiFrameRuntime": true,
-    "useApiHook": true,
-    "useApiHostProcess": true,
     "babelSetting": {
       "ignore": [],
       "disablePlugins": [],
       "outputPath": ""
     },
     "enableEngineNative": false,
-    "useIsolateContext": false,
+    "useIsolateContext": true,
     "userConfirmedBundleSwitch": false,
-    "packNpmManually": true,
-    "packNpmRelationList": [
-      {
-        "packageJsonPath": "./package.json",
-        "miniprogramNpmDistDir": "./"
-      }
-    ],
+    "packNpmManually": false,
+    "packNpmRelationList": [],
     "minifyWXSS": true,
     "disableUseStrict": false,
     "minifyWXML": true,
     "showES6CompileOption": false,
-    "useCompilerPlugins": false
+    "useCompilerPlugins": false,
+    "ignoreUploadUnusedFiles": true,
+    "useStaticServer": true,
+    "lazyloadPlaceholderEnable": false
   },
   "compileType": "miniprogram",
-  "libVersion": "2.17.0",
-  "appid": "wx9dbe0362bafd3d6f",
-  "projectname": "bigData",
-  "debugOptions": {
-    "hidedInDevtools": []
-  },
-  "scripts": {},
-  "isGameTourist": false,
   "condition": {
     "plugin": {
       "list": []
@@ -73,5 +58,14 @@
         }
       ]
     }
+  },
+  "editorSetting": {
+    "tabIndent": "insertSpaces",
+    "tabSize": 2
+  },
+  "libVersion": "2.24.3",
+  "packOptions": {
+    "ignore": [],
+    "include": []
   }
 }

+ 5 - 28
project.private.config.json

@@ -1,30 +1,7 @@
 {
-  "setting": {},
-  "condition": {
-    "plugin": {
-      "list": []
-    },
-    "game": {
-      "list": []
-    },
-    "gamePlugin": {
-      "list": []
-    },
-    "miniprogram": {
-      "list": [
-        {
-          "name": "pages/liveData/liveData",
-          "pathName": "pages/liveData/liveData",
-          "query": "",
-          "scene": null
-        },
-        {
-          "name": "pages/platform/index",
-          "pathName": "pages/platform/index",
-          "query": "type=kuaishou&title=%E9%99%95%E8%A5%BF%E9%AA%84%E5%82%B2",
-          "scene": null
-        }
-      ]
-    }
-  }
+  "setting": {
+    "urlCheck": true
+  },
+  "condition": {},
+  "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
 }