@dcloudio/uni-stat 3.0.0-4010420240430002 → 3.0.0-4020320240708001
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/lib/uni.plugin.js +4 -0
- package/package.json +3 -3
package/lib/uni.plugin.js
CHANGED
|
@@ -35,6 +35,10 @@ var index = () => [
|
|
|
35
35
|
name: 'uni:stat',
|
|
36
36
|
enforce: 'pre',
|
|
37
37
|
config(config, env) {
|
|
38
|
+
if (process.env.UNI_COMPILE_TARGET === 'uni_modules') {
|
|
39
|
+
// 不需要统计
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
38
42
|
const inputDir = process.env.UNI_INPUT_DIR;
|
|
39
43
|
const platform = process.env.UNI_PLATFORM;
|
|
40
44
|
const titlesJson = Object.create(null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-stat",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-4020320240708001",
|
|
4
4
|
"description": "@dcloudio/uni-stat",
|
|
5
5
|
"main": "dist/uni-stat.es.js",
|
|
6
6
|
"module": "dist/uni-stat.es.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dcloudio/uni-cli-shared": "3.0.0-
|
|
24
|
-
"@dcloudio/uni-shared": "3.0.0-
|
|
23
|
+
"@dcloudio/uni-cli-shared": "3.0.0-4020320240708001",
|
|
24
|
+
"@dcloudio/uni-shared": "3.0.0-4020320240708001",
|
|
25
25
|
"debug": "^4.3.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|