@dcloudio/uni-cli-shared 3.0.0-alpha-3021220211105011 → 3.0.0-alpha-3021320211109001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/constants.d.ts +0 -2
- package/dist/constants.js +1 -3
- package/dist/easycom.d.ts +1 -7
- package/dist/easycom.js +6 -25
- package/dist/env/define.d.ts +0 -2
- package/dist/env/define.js +0 -5
- package/dist/hbx/index.js +7 -0
- package/dist/hbx/log.d.ts +0 -2
- package/dist/hbx/log.js +2 -36
- package/dist/index.d.ts +2 -4
- package/dist/index.js +2 -4
- package/dist/json/app/manifest/nvue.d.ts +3 -3
- package/dist/json/app/pages/index.d.ts +1 -0
- package/dist/json/app/pages/index.js +11 -0
- package/dist/json/app/pages/nvue.d.ts +1 -0
- package/dist/json/app/pages/nvue.js +88 -0
- package/dist/json/manifest.d.ts +1 -1
- package/dist/json/manifest.js +3 -9
- package/dist/json/mp/index.d.ts +0 -1
- package/dist/json/mp/index.js +0 -11
- package/dist/json/mp/jsonFile.d.ts +6 -7
- package/dist/json/mp/jsonFile.js +13 -56
- package/dist/json/mp/pages.d.ts +0 -1
- package/dist/json/mp/pages.js +3 -17
- package/dist/json/mp/types.d.ts +0 -1
- package/dist/json/pages.js +4 -0
- package/dist/logs/console.js +2 -5
- package/dist/logs/format.js +0 -6
- package/dist/messages/index.d.ts +0 -2
- package/dist/messages/index.js +0 -2
- package/dist/mp/event.d.ts +1 -2
- package/dist/mp/event.js +3 -18
- package/dist/mp/index.d.ts +0 -5
- package/dist/mp/index.js +0 -7
- package/dist/postcss/plugins/stylePluginScoped.d.ts +1 -1
- package/dist/postcss/plugins/uniapp.d.ts +1 -1
- package/dist/postcss/plugins/uniapp.js +21 -51
- package/dist/preprocess/context.js +0 -1
- package/dist/renderjs.d.ts +16 -0
- package/dist/renderjs.js +44 -0
- package/dist/utils.d.ts +1 -8
- package/dist/utils.js +8 -71
- package/dist/vite/features.d.ts +1 -1
- package/dist/vite/index.d.ts +3 -2
- package/dist/vite/plugins/copy.d.ts +1 -1
- package/dist/vite/plugins/cssScoped.d.ts +1 -1
- package/dist/vite/plugins/inject.d.ts +1 -1
- package/dist/vite/plugins/inject.js +2 -2
- package/dist/vite/plugins/vitejs/config.d.ts +1 -1
- package/dist/vite/plugins/vitejs/index.d.ts +1 -1
- package/dist/vite/plugins/vitejs/plugin.d.ts +1 -1
- package/dist/vite/plugins/vitejs/plugins/asset.d.ts +1 -1
- package/dist/vite/plugins/vitejs/plugins/asset.js +21 -28
- package/dist/vite/plugins/vitejs/plugins/css.d.ts +4 -4
- package/dist/vite/plugins/vitejs/plugins/css.js +24 -15
- package/dist/vite/plugins/vitejs/server/moduleGraph.d.ts +1 -1
- package/dist/vite/plugins/vitejs/server/moduleGraph.js +3 -0
- package/dist/vite/utils/ast.d.ts +1 -1
- package/dist/vite/utils/index.d.ts +1 -1
- package/dist/vite/utils/plugin.d.ts +4 -4
- package/dist/vite/utils/plugin.js +2 -2
- package/package.json +6 -20
- package/dist/exports.d.ts +0 -1
- package/dist/exports.js +0 -8
- package/dist/filter.d.ts +0 -16
- package/dist/filter.js +0 -60
- package/dist/mp/constants.d.ts +0 -2
- package/dist/mp/constants.js +0 -5
- package/dist/mp/imports.d.ts +0 -5
- package/dist/mp/imports.js +0 -63
- package/dist/mp/nvue.d.ts +0 -1
- package/dist/mp/nvue.js +0 -18
- package/dist/mp/style.d.ts +0 -1
- package/dist/mp/style.js +0 -10
- package/dist/mp/template.d.ts +0 -55
- package/dist/mp/template.js +0 -73
- package/dist/mp/transformImports.d.ts +0 -14
- package/dist/mp/transformImports.js +0 -175
- package/dist/vue/index.d.ts +0 -2
- package/dist/vue/index.js +0 -14
- package/dist/vue/transforms/index.d.ts +0 -10
- package/dist/vue/transforms/index.js +0 -36
- package/dist/vue/transforms/transformComponent.d.ts +0 -3
- package/dist/vue/transforms/transformComponent.js +0 -26
- package/dist/vue/transforms/transformEvent.d.ts +0 -2
- package/dist/vue/transforms/transformEvent.js +0 -22
- package/dist/vue/transforms/transformPageHead.d.ts +0 -2
- package/dist/vue/transforms/transformPageHead.js +0 -11
- package/dist/vue/transforms/transformRef.d.ts +0 -2
- package/dist/vue/transforms/transformRef.js +0 -32
- package/dist/vue/transforms/transformTag.d.ts +0 -3
- package/dist/vue/transforms/transformTag.js +0 -45
- package/dist/vue/transforms/vModel.d.ts +0 -12
- package/dist/vue/transforms/vModel.js +0 -33
- package/dist/vue/transforms/vOn.d.ts +0 -15
- package/dist/vue/transforms/vOn.js +0 -88
- package/dist/vue/utils.d.ts +0 -9
- package/dist/vue/utils.js +0 -66
- package/lib/nvue.css +0 -34
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/dist/constants.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ export declare const EXTNAME_JS: string[];
|
|
|
3
3
|
export declare const EXTNAME_VUE: string[];
|
|
4
4
|
export declare const EXTNAME_VUE_RE: RegExp;
|
|
5
5
|
export declare const EXTNAME_JS_RE: RegExp;
|
|
6
|
-
export declare const ASSETS_INLINE_LIMIT: number;
|
|
7
|
-
export declare const BINDING_COMPONENTS = "__BINDING_COMPONENTS__";
|
|
8
6
|
export declare const PAGE_EXTNAME_APP: string[];
|
|
9
7
|
export declare const PAGE_EXTNAME: string[];
|
|
10
8
|
export declare const H5_API_STYLE_PATH = "@dcloudio/uni-h5/style/api/";
|
package/dist/constants.js
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMMON_EXCLUDE = exports.BASE_COMPONENTS_STYLE_PATH = exports.H5_COMPONENTS_STYLE_PATH = exports.H5_FRAMEWORK_STYLE_PATH = exports.H5_API_STYLE_PATH = exports.PAGE_EXTNAME = exports.PAGE_EXTNAME_APP = exports.
|
|
3
|
+
exports.COMMON_EXCLUDE = exports.BASE_COMPONENTS_STYLE_PATH = exports.H5_COMPONENTS_STYLE_PATH = exports.H5_FRAMEWORK_STYLE_PATH = exports.H5_API_STYLE_PATH = exports.PAGE_EXTNAME = exports.PAGE_EXTNAME_APP = exports.EXTNAME_JS_RE = exports.EXTNAME_VUE_RE = exports.EXTNAME_VUE = exports.EXTNAME_JS = exports.PUBLIC_DIR = void 0;
|
|
4
4
|
exports.PUBLIC_DIR = 'static';
|
|
5
5
|
exports.EXTNAME_JS = ['.js', '.ts', '.jsx', '.tsx'];
|
|
6
6
|
exports.EXTNAME_VUE = ['.vue', '.nvue'];
|
|
7
7
|
exports.EXTNAME_VUE_RE = /\.(vue|nvue)$/;
|
|
8
8
|
exports.EXTNAME_JS_RE = /\.[jt]sx?$/;
|
|
9
|
-
exports.ASSETS_INLINE_LIMIT = 40 * 1024;
|
|
10
|
-
exports.BINDING_COMPONENTS = '__BINDING_COMPONENTS__';
|
|
11
9
|
// APP 平台解析页面后缀的优先级
|
|
12
10
|
exports.PAGE_EXTNAME_APP = ['.nvue', '.vue', '.tsx', '.jsx', '.js'];
|
|
13
11
|
// 其他平台解析页面后缀的优先级
|
package/dist/easycom.d.ts
CHANGED
|
@@ -12,10 +12,7 @@ interface EasycomMatcher {
|
|
|
12
12
|
interface EasycomCustom {
|
|
13
13
|
[key: string]: string;
|
|
14
14
|
}
|
|
15
|
-
export declare function initEasycoms(inputDir: string,
|
|
16
|
-
dirs: string[];
|
|
17
|
-
platform: UniApp.PLATFORM;
|
|
18
|
-
}): {
|
|
15
|
+
export declare function initEasycoms(inputDir: string, platform: UniApp.PLATFORM): {
|
|
19
16
|
options: EasycomOption;
|
|
20
17
|
filter: (id: unknown) => boolean;
|
|
21
18
|
refresh(): void;
|
|
@@ -23,7 +20,4 @@ export declare function initEasycoms(inputDir: string, { dirs, platform }: {
|
|
|
23
20
|
};
|
|
24
21
|
export declare const initEasycomsOnce: typeof initEasycoms;
|
|
25
22
|
export declare function matchEasycom(tag: string): string | false | undefined;
|
|
26
|
-
export declare function addImportDeclaration(importDeclarations: string[], local: string, source: string, imported?: string): string;
|
|
27
|
-
export declare function genResolveEasycomCode(importDeclarations: string[], code: string, name: string): string;
|
|
28
|
-
export declare const UNI_EASYCOM_EXCLUDE: RegExp[];
|
|
29
23
|
export {};
|
package/dist/easycom.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.matchEasycom = exports.initEasycomsOnce = exports.initEasycoms = void 0;
|
|
7
7
|
const fs_1 = __importDefault(require("fs"));
|
|
8
8
|
const path_1 = __importDefault(require("path"));
|
|
9
9
|
const debug_1 = __importDefault(require("debug"));
|
|
@@ -13,7 +13,7 @@ const uni_shared_1 = require("@dcloudio/uni-shared");
|
|
|
13
13
|
const utils_1 = require("./utils");
|
|
14
14
|
const pages_1 = require("./json/pages");
|
|
15
15
|
const messages_1 = require("./messages");
|
|
16
|
-
const debugEasycom = (0, debug_1.default)('
|
|
16
|
+
const debugEasycom = (0, debug_1.default)('uni:easycom');
|
|
17
17
|
const easycoms = [];
|
|
18
18
|
const easycomsCache = new Map();
|
|
19
19
|
const easycomsInvalidCache = new Set();
|
|
@@ -23,7 +23,8 @@ function clearEasycom() {
|
|
|
23
23
|
easycomsCache.clear();
|
|
24
24
|
easycomsInvalidCache.clear();
|
|
25
25
|
}
|
|
26
|
-
function initEasycoms(inputDir,
|
|
26
|
+
function initEasycoms(inputDir, platform) {
|
|
27
|
+
const buildInComponentsDir = path_1.default.resolve(require.resolve('@dcloudio/uni-components'), '../lib');
|
|
27
28
|
const componentsDir = path_1.default.resolve(inputDir, 'components');
|
|
28
29
|
const uniModulesDir = path_1.default.resolve(inputDir, 'uni_modules');
|
|
29
30
|
const initEasycomOptions = (pagesJson) => {
|
|
@@ -31,9 +32,9 @@ function initEasycoms(inputDir, { dirs, platform }) {
|
|
|
31
32
|
const { easycom } = pagesJson || (0, pages_1.parsePagesJson)(inputDir, platform, false);
|
|
32
33
|
const easycomOptions = {
|
|
33
34
|
dirs: easycom && easycom.autoscan === false
|
|
34
|
-
? [
|
|
35
|
+
? [buildInComponentsDir] // 禁止自动扫描
|
|
35
36
|
: [
|
|
36
|
-
|
|
37
|
+
buildInComponentsDir,
|
|
37
38
|
componentsDir,
|
|
38
39
|
...initUniModulesEasycomDirs(uniModulesDir),
|
|
39
40
|
],
|
|
@@ -177,23 +178,3 @@ function initAutoScanEasycoms(dirs, rootDir, extensions) {
|
|
|
177
178
|
function normalizeCompath(compath, rootDir) {
|
|
178
179
|
return (0, utils_1.normalizePath)(path_1.default.relative(rootDir, compath));
|
|
179
180
|
}
|
|
180
|
-
function addImportDeclaration(importDeclarations, local, source, imported) {
|
|
181
|
-
importDeclarations.push(createImportDeclaration(local, source, imported));
|
|
182
|
-
return local;
|
|
183
|
-
}
|
|
184
|
-
exports.addImportDeclaration = addImportDeclaration;
|
|
185
|
-
function createImportDeclaration(local, source, imported) {
|
|
186
|
-
if (imported) {
|
|
187
|
-
return `import {${imported} as ${local}} from '${source}';`;
|
|
188
|
-
}
|
|
189
|
-
return `import ${local} from '${source}';`;
|
|
190
|
-
}
|
|
191
|
-
const RESOLVE_EASYCOM_IMPORT_CODE = `import { resolveDynamicComponent as __resolveDynamicComponent } from 'vue';import { resolveEasycom } from '@dcloudio/uni-app';`;
|
|
192
|
-
function genResolveEasycomCode(importDeclarations, code, name) {
|
|
193
|
-
if (!importDeclarations.includes(RESOLVE_EASYCOM_IMPORT_CODE)) {
|
|
194
|
-
importDeclarations.push(RESOLVE_EASYCOM_IMPORT_CODE);
|
|
195
|
-
}
|
|
196
|
-
return `resolveEasycom(${code.replace('_resolveComponent', '__resolveDynamicComponent')}, ${name})`;
|
|
197
|
-
}
|
|
198
|
-
exports.genResolveEasycomCode = genResolveEasycomCode;
|
|
199
|
-
exports.UNI_EASYCOM_EXCLUDE = [/App.vue$/, /@dcloudio\/uni-h5/];
|
package/dist/env/define.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export declare function initDefine(stringifyBoolean?: boolean): {
|
|
2
2
|
'process.env.NODE_ENV': string;
|
|
3
|
-
'process.env.UNI_DEBUG': string | boolean;
|
|
4
3
|
'process.env.UNI_APP_ID': string;
|
|
5
4
|
'process.env.UNI_APP_NAME': string;
|
|
6
5
|
'process.env.UNI_PLATFORM': string;
|
|
7
|
-
'process.env.UNI_COMPILER_VERSION': string;
|
|
8
6
|
'process.env.RUN_BY_HBUILDERX': string | boolean;
|
|
9
7
|
'process.env.UNI_AUTOMATOR_WS_ENDPOINT': string;
|
|
10
8
|
'process.env.UNI_CLOUD_PROVIDER': string;
|
package/dist/env/define.js
CHANGED
|
@@ -6,16 +6,11 @@ const json_1 = require("../json");
|
|
|
6
6
|
function initDefine(stringifyBoolean = false) {
|
|
7
7
|
const manifestJson = (0, json_1.parseManifestJsonOnce)(process.env.UNI_INPUT_DIR);
|
|
8
8
|
const isRunByHBuilderX = (0, env_1.runByHBuilderX)();
|
|
9
|
-
const isDebug = !!manifestJson.debug;
|
|
10
9
|
return {
|
|
11
10
|
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
|
|
12
|
-
'process.env.UNI_DEBUG': stringifyBoolean
|
|
13
|
-
? JSON.stringify(isDebug)
|
|
14
|
-
: isDebug,
|
|
15
11
|
'process.env.UNI_APP_ID': JSON.stringify(manifestJson.appid || ''),
|
|
16
12
|
'process.env.UNI_APP_NAME': JSON.stringify(manifestJson.name || ''),
|
|
17
13
|
'process.env.UNI_PLATFORM': JSON.stringify(process.env.UNI_PLATFORM),
|
|
18
|
-
'process.env.UNI_COMPILER_VERSION': JSON.stringify(process.env.UNI_COMPILER_VERSION),
|
|
19
14
|
'process.env.RUN_BY_HBUILDERX': stringifyBoolean
|
|
20
15
|
? JSON.stringify(isRunByHBuilderX)
|
|
21
16
|
: isRunByHBuilderX,
|
package/dist/hbx/index.js
CHANGED
|
@@ -9,8 +9,15 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
+
};
|
|
12
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
16
|
exports.initModuleAlias = void 0;
|
|
17
|
+
const path_1 = __importDefault(require("path"));
|
|
18
|
+
process.env.UNI_HBUILDERX_PLUGINS =
|
|
19
|
+
process.env.UNI_HBUILDERX_PLUGINS ||
|
|
20
|
+
path_1.default.resolve(__dirname, '../../../../../../');
|
|
14
21
|
__exportStar(require("./env"), exports);
|
|
15
22
|
var alias_1 = require("./alias");
|
|
16
23
|
Object.defineProperty(exports, "initModuleAlias", { enumerable: true, get: function () { return alias_1.initModuleAlias; } });
|
package/dist/hbx/log.d.ts
CHANGED
|
@@ -2,5 +2,3 @@ import { Formatter } from '../logs/format';
|
|
|
2
2
|
export declare const h5ServeFormatter: Formatter;
|
|
3
3
|
export declare const removeInfoFormatter: Formatter;
|
|
4
4
|
export declare const removeWarnFormatter: Formatter;
|
|
5
|
-
export declare const FilenameFormatter: Formatter;
|
|
6
|
-
export declare const HBuilderXFileFormatter: Formatter;
|
package/dist/hbx/log.js
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
const path_1 = __importDefault(require("path"));
|
|
8
|
-
const utils_1 = require("../utils");
|
|
3
|
+
exports.removeWarnFormatter = exports.removeInfoFormatter = exports.h5ServeFormatter = void 0;
|
|
9
4
|
const SIGNAL_H5_LOCAL = ' > Local:';
|
|
10
5
|
const SIGNAL_H5_NETWORK = ' > Network:';
|
|
11
6
|
const networkLogs = [];
|
|
@@ -45,7 +40,7 @@ exports.removeInfoFormatter = {
|
|
|
45
40
|
return '';
|
|
46
41
|
},
|
|
47
42
|
};
|
|
48
|
-
const REMOVED_WARN_MSGS = [];
|
|
43
|
+
const REMOVED_WARN_MSGS = ['warnings when minifying css:'];
|
|
49
44
|
exports.removeWarnFormatter = {
|
|
50
45
|
test(msg) {
|
|
51
46
|
return !!REMOVED_WARN_MSGS.find((m) => msg.includes(m));
|
|
@@ -54,32 +49,3 @@ exports.removeWarnFormatter = {
|
|
|
54
49
|
return '';
|
|
55
50
|
},
|
|
56
51
|
};
|
|
57
|
-
const fileRE = /file:\s(.*):(\d+):(\d+)/;
|
|
58
|
-
exports.FilenameFormatter = {
|
|
59
|
-
test(msg) {
|
|
60
|
-
return fileRE.test(msg);
|
|
61
|
-
},
|
|
62
|
-
format(msg) {
|
|
63
|
-
return msg.replace(fileRE, (_, filename, line, column) => {
|
|
64
|
-
return `file: ${filename.split('?')[0]}:${line}:${column}`;
|
|
65
|
-
});
|
|
66
|
-
},
|
|
67
|
-
};
|
|
68
|
-
exports.HBuilderXFileFormatter = {
|
|
69
|
-
test(msg) {
|
|
70
|
-
return fileRE.test(msg);
|
|
71
|
-
},
|
|
72
|
-
format(msg) {
|
|
73
|
-
return (msg
|
|
74
|
-
// remove color
|
|
75
|
-
.replace(/\x1B[[(?);]{0,2}(;?\d)*./g, '')
|
|
76
|
-
.replace(fileRE, (_, filename, line, column) => {
|
|
77
|
-
return ('at ' +
|
|
78
|
-
(0, utils_1.normalizePath)(path_1.default.relative(process.env.UNI_INPUT_DIR, filename.split('?')[0])) +
|
|
79
|
-
':' +
|
|
80
|
-
line +
|
|
81
|
-
':' +
|
|
82
|
-
column);
|
|
83
|
-
}));
|
|
84
|
-
},
|
|
85
|
-
};
|
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,8 @@ export * from './fs';
|
|
|
2
2
|
export * from './mp';
|
|
3
3
|
export * from './env';
|
|
4
4
|
export * from './hbx';
|
|
5
|
-
export * from './ssr';
|
|
6
|
-
export * from './vue';
|
|
7
5
|
export * from './logs';
|
|
6
|
+
export * from './ssr';
|
|
8
7
|
export * from './i18n';
|
|
9
8
|
export * from './deps';
|
|
10
9
|
export * from './json';
|
|
@@ -14,8 +13,7 @@ export * from './easycom';
|
|
|
14
13
|
export * from './constants';
|
|
15
14
|
export * from './preprocess';
|
|
16
15
|
export * from './postcss';
|
|
17
|
-
export * from './
|
|
16
|
+
export * from './renderjs';
|
|
18
17
|
export * from './esbuild';
|
|
19
18
|
export { M } from './messages';
|
|
20
|
-
export * from './exports';
|
|
21
19
|
export { checkUpdate } from './checkUpdate';
|
package/dist/index.js
CHANGED
|
@@ -15,9 +15,8 @@ __exportStar(require("./fs"), exports);
|
|
|
15
15
|
__exportStar(require("./mp"), exports);
|
|
16
16
|
__exportStar(require("./env"), exports);
|
|
17
17
|
__exportStar(require("./hbx"), exports);
|
|
18
|
-
__exportStar(require("./ssr"), exports);
|
|
19
|
-
__exportStar(require("./vue"), exports);
|
|
20
18
|
__exportStar(require("./logs"), exports);
|
|
19
|
+
__exportStar(require("./ssr"), exports);
|
|
21
20
|
__exportStar(require("./i18n"), exports);
|
|
22
21
|
__exportStar(require("./deps"), exports);
|
|
23
22
|
__exportStar(require("./json"), exports);
|
|
@@ -27,10 +26,9 @@ __exportStar(require("./easycom"), exports);
|
|
|
27
26
|
__exportStar(require("./constants"), exports);
|
|
28
27
|
__exportStar(require("./preprocess"), exports);
|
|
29
28
|
__exportStar(require("./postcss"), exports);
|
|
30
|
-
__exportStar(require("./
|
|
29
|
+
__exportStar(require("./renderjs"), exports);
|
|
31
30
|
__exportStar(require("./esbuild"), exports);
|
|
32
31
|
var messages_1 = require("./messages");
|
|
33
32
|
Object.defineProperty(exports, "M", { enumerable: true, get: function () { return messages_1.M; } });
|
|
34
|
-
__exportStar(require("./exports"), exports);
|
|
35
33
|
var checkUpdate_1 = require("./checkUpdate");
|
|
36
34
|
Object.defineProperty(exports, "checkUpdate", { enumerable: true, get: function () { return checkUpdate_1.checkUpdate; } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare function initNVue(manifestJson: Record<string, any>, pagesJson: UniApp.PagesJson): void;
|
|
2
|
-
export declare function getNVueCompiler(manifestJson: Record<string, any>): "
|
|
3
|
-
export declare function getNVueStyleCompiler(manifestJson: Record<string, any>): "
|
|
4
|
-
export declare function getNVueFlexDirection(manifestJson: Record<string, any>): "
|
|
2
|
+
export declare function getNVueCompiler(manifestJson: Record<string, any>): "weex" | "vue" | "uni-app";
|
|
3
|
+
export declare function getNVueStyleCompiler(manifestJson: Record<string, any>): "weex" | "uni-app";
|
|
4
|
+
export declare function getNVueFlexDirection(manifestJson: Record<string, any>): "column" | "column-reverse" | "row" | "row-reverse";
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
13
|
exports.normalizeAppConfigService = exports.normalizeAppPagesJson = void 0;
|
|
4
14
|
const code_1 = require("./code");
|
|
5
15
|
const definePage_1 = require("./definePage");
|
|
6
16
|
const uniConfig_1 = require("./uniConfig");
|
|
7
17
|
const uniRoutes_1 = require("./uniRoutes");
|
|
18
|
+
__exportStar(require("./nvue"), exports);
|
|
8
19
|
function normalizeAppPagesJson(pagesJson) {
|
|
9
20
|
return code_1.polyfillCode + code_1.restoreGlobalCode + (0, definePage_1.definePageCode)(pagesJson);
|
|
10
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initWebpackNVueEntry(pages: UniApp.PagesJsonPageOptions[]): void;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.initWebpackNVueEntry = void 0;
|
|
7
|
+
const fs_1 = __importDefault(require("fs"));
|
|
8
|
+
const path_1 = __importDefault(require("path"));
|
|
9
|
+
const utils_1 = require("../../../utils");
|
|
10
|
+
function initWebpackNVueEntry(pages) {
|
|
11
|
+
process.UNI_NVUE_ENTRY = {};
|
|
12
|
+
pages.forEach(({ path, style: { isNVue, subNVues } }) => {
|
|
13
|
+
if (isNVue) {
|
|
14
|
+
process.UNI_NVUE_ENTRY[path] = genWebpackBase64Code(genNVueEntryCode(path));
|
|
15
|
+
}
|
|
16
|
+
if (!Array.isArray(subNVues)) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
subNVues.forEach(({ path }) => {
|
|
20
|
+
if (!path) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const subNVuePath = (0, utils_1.removeExt)(path.split('?')[0]);
|
|
24
|
+
process.UNI_NVUE_ENTRY[subNVuePath] = genWebpackBase64Code(genNVueEntryCode(subNVuePath));
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
exports.initWebpackNVueEntry = initWebpackNVueEntry;
|
|
29
|
+
function genWebpackBase64Code(code) {
|
|
30
|
+
return `data:text/javascript;base64,${Buffer.from(code).toString('base64')}`;
|
|
31
|
+
}
|
|
32
|
+
function genNVueEntryCode(route) {
|
|
33
|
+
return `import '${genWebpackBase64Code(genNVueAppStyle())}'
|
|
34
|
+
import App from '${(0, utils_1.normalizePath)(path_1.default.resolve(process.env.UNI_INPUT_DIR, route))}.nvue?mpType=page'
|
|
35
|
+
if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
|
|
36
|
+
Promise.prototype.finally = function(callback) {
|
|
37
|
+
var promise = this.constructor
|
|
38
|
+
return this.then(function(value) {
|
|
39
|
+
return promise.resolve(callback()).then(function() {
|
|
40
|
+
return value
|
|
41
|
+
})
|
|
42
|
+
}, function(reason) {
|
|
43
|
+
return promise.resolve(callback()).then(function() {
|
|
44
|
+
throw reason
|
|
45
|
+
})
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
App.mpType = 'page'
|
|
50
|
+
App.route = '${route}'
|
|
51
|
+
App.el = '#root'
|
|
52
|
+
new Vue(App)
|
|
53
|
+
`;
|
|
54
|
+
}
|
|
55
|
+
function genNVueAppStyle() {
|
|
56
|
+
if (process.env.UNI_NVUE_COMPILER !== 'uni-app') {
|
|
57
|
+
return '';
|
|
58
|
+
}
|
|
59
|
+
const appVuePath = path_1.default.resolve(process.env.UNI_INPUT_DIR, 'App.vue');
|
|
60
|
+
let code = 'Vue.prototype.__$appStyle__ = {}\n';
|
|
61
|
+
let styles = [];
|
|
62
|
+
try {
|
|
63
|
+
if (fs_1.default.existsSync(appVuePath)) {
|
|
64
|
+
const { parseComponent, } = require('@dcloudio/uni-cli-nvue/lib/weex-template-compiler');
|
|
65
|
+
styles = parseComponent(fs_1.default.readFileSync(appVuePath, 'utf8')).styles;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
catch (e) { }
|
|
69
|
+
const loaderUtils = require('loader-utils');
|
|
70
|
+
const stringifyRequest = (r) => loaderUtils.stringifyRequest({}, r);
|
|
71
|
+
styles.forEach((style, index) => {
|
|
72
|
+
if (!style.src) {
|
|
73
|
+
style.src = (0, utils_1.normalizePath)(appVuePath);
|
|
74
|
+
}
|
|
75
|
+
code =
|
|
76
|
+
code +
|
|
77
|
+
`import __style${index} from ${genStyleRequest(style, index, stringifyRequest)}
|
|
78
|
+
Vue.prototype.__merge_style(__style${index},Vue.prototype.__$appStyle__)\n`;
|
|
79
|
+
});
|
|
80
|
+
return code;
|
|
81
|
+
}
|
|
82
|
+
function genStyleRequest(style, i, stringifyRequest) {
|
|
83
|
+
const { attrsToQuery, } = require('@dcloudio/uni-cli-nvue/lib/vue-loader/lib/codegen/utils');
|
|
84
|
+
const src = style.src;
|
|
85
|
+
const attrsQuery = attrsToQuery(style.attrs, 'css');
|
|
86
|
+
const query = `?vue&type=style&index=${i}${attrsQuery}`;
|
|
87
|
+
return stringifyRequest(src + query);
|
|
88
|
+
}
|
package/dist/json/manifest.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const parseManifestJson: (inputDir: string) => any;
|
|
2
2
|
export declare const parseManifestJsonOnce: (inputDir: string) => any;
|
|
3
|
-
export declare const parseRpx2UnitOnce: (inputDir: string
|
|
3
|
+
export declare const parseRpx2UnitOnce: (inputDir: string) => any;
|
|
4
4
|
interface CompilerCompatConfig {
|
|
5
5
|
MODE?: 2 | 3;
|
|
6
6
|
}
|
package/dist/json/manifest.js
CHANGED
|
@@ -14,15 +14,9 @@ const parseManifestJson = (inputDir) => {
|
|
|
14
14
|
};
|
|
15
15
|
exports.parseManifestJson = parseManifestJson;
|
|
16
16
|
exports.parseManifestJsonOnce = (0, uni_shared_1.once)(exports.parseManifestJson);
|
|
17
|
-
exports.parseRpx2UnitOnce = (0, uni_shared_1.once)((inputDir
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
: uni_shared_1.defaultMiniProgramRpx2Unit;
|
|
21
|
-
const platformOptions = (0, exports.parseManifestJsonOnce)(inputDir)[platform];
|
|
22
|
-
if (platformOptions && platformOptions.rpx) {
|
|
23
|
-
return (0, shared_1.extend)({}, rpx2unit, platformOptions);
|
|
24
|
-
}
|
|
25
|
-
return (0, shared_1.extend)({}, rpx2unit);
|
|
17
|
+
exports.parseRpx2UnitOnce = (0, uni_shared_1.once)((inputDir) => {
|
|
18
|
+
const { h5 } = (0, exports.parseManifestJsonOnce)(inputDir);
|
|
19
|
+
return (0, shared_1.extend)({}, uni_shared_1.defaultRpx2Unit, (h5 && h5.rpx) || {});
|
|
26
20
|
});
|
|
27
21
|
function parseCompatConfig(_inputDir) {
|
|
28
22
|
// 不支持 mode:2
|
package/dist/json/mp/index.d.ts
CHANGED
package/dist/json/mp/index.js
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
3
|
exports.parseMiniProgramProjectJson = exports.parseMiniProgramPagesJson = void 0;
|
|
14
|
-
__exportStar(require("./jsonFile"), exports);
|
|
15
4
|
var pages_1 = require("./pages");
|
|
16
5
|
Object.defineProperty(exports, "parseMiniProgramPagesJson", { enumerable: true, get: function () { return pages_1.parseMiniProgramPagesJson; } });
|
|
17
6
|
var project_1 = require("./project");
|