Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseJson = void 0;
const jsonc_parser_1 = require("jsonc-parser");
const preprocess_1 = require("../preprocess");
function parseJson(jsonStr, shouldPre = false) {
return (0, jsonc_parser_1.parse)(shouldPre
? process.env.UNI_APP_X === 'true'
? (0, preprocess_1.preUVueJson)(jsonStr)
: (0, preprocess_1.preJson)(jsonStr)
: jsonStr);
}
exports.parseJson = parseJson;