@ray-js/builder-mp 1.4.29 → 1.4.31
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.
@@ -25,6 +25,12 @@ exports.default = {
|
|
25
25
|
name: 'mini-app-module-resolve',
|
26
26
|
configWebpack(context) {
|
27
27
|
const { config } = context;
|
28
|
+
// --no-sourcemap 时不生成 sourcemap
|
29
|
+
// minipack 在 1.0.0 之后使用了 esbuild 存在 sourcemap 过长的问题
|
30
|
+
// 可通过 --no-sourcemap 关闭 sourcemap
|
31
|
+
if (builder_1.builder.options.sourcemap === false) {
|
32
|
+
config.devtool(false);
|
33
|
+
}
|
28
34
|
config.watch(true);
|
29
35
|
config.watchOptions({
|
30
36
|
ignored: /\.rjs$/i,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/builder-mp",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.31",
|
4
4
|
"description": "Ray builder for mini program",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -33,10 +33,10 @@
|
|
33
33
|
"@ray-core/build-store": "^0.3.9",
|
34
34
|
"@ray-core/cli": "^0.3.9",
|
35
35
|
"@ray-core/ray": "^0.3.9",
|
36
|
-
"@ray-js/adapter": "
|
36
|
+
"@ray-js/adapter": "1.4.31",
|
37
37
|
"@ray-js/rjs-for-wechat": "^0.0.3",
|
38
|
-
"@ray-js/shared": "
|
39
|
-
"@ray-js/types": "
|
38
|
+
"@ray-js/shared": "1.4.31",
|
39
|
+
"@ray-js/types": "1.4.31",
|
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",
|
@@ -65,5 +65,5 @@
|
|
65
65
|
"access": "public",
|
66
66
|
"registry": "https://registry.npmjs.org"
|
67
67
|
},
|
68
|
-
"gitHead": "
|
68
|
+
"gitHead": "337923ae8d5c5b321da92271bba78c651d391c9b"
|
69
69
|
}
|