@ray-js/builder-mp 1.5.0 → 1.5.1
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/build.rjs.js +1 -1
- package/lib/build.worker.js +1 -1
- package/lib/loaders/rjs/index.js +2 -2
- package/package.json +15 -15
package/lib/build.rjs.js
CHANGED
package/lib/build.worker.js
CHANGED
package/lib/loaders/rjs/index.js
CHANGED
@@ -52,8 +52,8 @@ function getRjsModule(compilation, p) {
|
|
52
52
|
const { resource, rawRequest } = mc.module || {};
|
53
53
|
if (resource === p) {
|
54
54
|
return [
|
55
|
-
m.resource,
|
56
|
-
path_1.default.join(path_1.default.dirname(resource), rawRequest),
|
55
|
+
m.resource, // 引用rjs的模块
|
56
|
+
path_1.default.join(path_1.default.dirname(resource), rawRequest), // 引用的rjs模块
|
57
57
|
rawRequest, // 引用rjs的模块中,import 的具体模块名
|
58
58
|
];
|
59
59
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/builder-mp",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.1",
|
4
4
|
"description": "Ray builder for mini program",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -25,18 +25,18 @@
|
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
27
|
"@babel/plugin-transform-private-methods": "^7.24.1",
|
28
|
-
"@babel/plugin-transform-private-property-in-object": "^7.24.
|
28
|
+
"@babel/plugin-transform-private-property-in-object": "^7.24.5",
|
29
29
|
"@babel/template": "^7.24.0",
|
30
|
-
"@babel/traverse": "^7.24.
|
31
|
-
"@babel/types": "^7.24.
|
32
|
-
"@ray-core/babel-preset-remax": "^0.4.
|
33
|
-
"@ray-core/build-store": "^0.4.
|
34
|
-
"@ray-core/cli": "^0.4.
|
35
|
-
"@ray-core/ray": "^0.4.
|
36
|
-
"@ray-js/adapter": "1.5.
|
30
|
+
"@babel/traverse": "^7.24.5",
|
31
|
+
"@babel/types": "^7.24.5",
|
32
|
+
"@ray-core/babel-preset-remax": "^0.4.5",
|
33
|
+
"@ray-core/build-store": "^0.4.5",
|
34
|
+
"@ray-core/cli": "^0.4.5",
|
35
|
+
"@ray-core/ray": "^0.4.5",
|
36
|
+
"@ray-js/adapter": "1.5.1",
|
37
37
|
"@ray-js/rjs-for-wechat": "^0.0.3",
|
38
|
-
"@ray-js/shared": "1.5.
|
39
|
-
"@ray-js/types": "1.5.
|
38
|
+
"@ray-js/shared": "1.5.1",
|
39
|
+
"@ray-js/types": "1.5.1",
|
40
40
|
"babel-loader": "^8.3.0",
|
41
41
|
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
|
42
42
|
"babel-plugin-transform-prune-unused-imports": "^1.0.1",
|
@@ -54,17 +54,17 @@
|
|
54
54
|
"webpack-virtual-modules": "^0.4.6"
|
55
55
|
},
|
56
56
|
"devDependencies": {
|
57
|
-
"@ray-core/types": "^0.4.
|
57
|
+
"@ray-core/types": "^0.4.5",
|
58
58
|
"@types/jest": "^29.5.12",
|
59
|
-
"@types/node": "^20.11
|
59
|
+
"@types/node": "^20.12.11",
|
60
60
|
"babel-plugin-tester": "^10.1.0",
|
61
61
|
"jest": "^29.7.0",
|
62
62
|
"ts-jest": "^29.1.2",
|
63
|
-
"typescript": "^4.
|
63
|
+
"typescript": "^5.4.5"
|
64
64
|
},
|
65
65
|
"publishConfig": {
|
66
66
|
"access": "public",
|
67
67
|
"registry": "https://registry.npmjs.org"
|
68
68
|
},
|
69
|
-
"gitHead": "
|
69
|
+
"gitHead": "c72417d2eda79e7cb4a0ae547e0483eb72d6330f"
|
70
70
|
}
|