From d733c75371192d62698aab21b5ee623d8795e36e Mon Sep 17 00:00:00 2001 From: MrKBear Date: Thu, 9 Jun 2022 17:23:09 +0800 Subject: [PATCH] Update project config --- miniprogram/modular/PopupLayer.ts | 4 ++-- project.config.json | 18 +++++++++++------- project.private.config.json | 16 ++++++---------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/miniprogram/modular/PopupLayer.ts b/miniprogram/modular/PopupLayer.ts index 75fdbad..02aa404 100644 --- a/miniprogram/modular/PopupLayer.ts +++ b/miniprogram/modular/PopupLayer.ts @@ -1,5 +1,5 @@ -import { IAnyData } from "core/Api"; -import { Emitter } from "core/Emitter"; +import { IAnyData } from "../core/Api"; +import { Emitter } from "../core/Emitter"; import { Modular, Manager } from "../core/Module"; /** diff --git a/project.config.json b/project.config.json index ec8c334..8a56acf 100644 --- a/project.config.json +++ b/project.config.json @@ -1,7 +1,8 @@ { - "description": "项目配置文件", + "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "packOptions": { - "ignore": [] + "ignore": [], + "include": [] }, "miniprogramRoot": "miniprogram/", "compileType": "miniprogram", @@ -46,13 +47,16 @@ "useCompilerPlugins": [ "typescript", "sass" - ] + ], + "useStaticServer": true }, "simulatorType": "wechat", "simulatorPluginLibVersion": {}, "appid": "wx7d809f5e8955843d", - "scripts": { - "beforeCompile": "" - }, - "condition": {} + "condition": {}, + "srcMiniprogramRoot": "miniprogram/", + "editorSetting": { + "tabIndent": "insertSpaces", + "tabSize": 2 + } } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 41aae51..6127802 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -1,14 +1,5 @@ { "condition": { - "plugin": { - "list": [] - }, - "game": { - "list": [] - }, - "gamePlugin": { - "list": [] - }, "miniprogram": { "list": [ { @@ -19,5 +10,10 @@ } ] } - } + }, + "projectname": "mini-dlpu-v3", + "setting": { + "compileHotReLoad": true + }, + "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html" } \ No newline at end of file