@lwrjs/module-bundler 0.11.3 → 0.11.5
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.
|
@@ -52,7 +52,9 @@ async function minifyJavascript(source) {
|
|
|
52
52
|
});
|
|
53
53
|
return code;
|
|
54
54
|
} catch (error) {
|
|
55
|
-
import_diagnostics.logger.
|
|
55
|
+
if (import_diagnostics.logger.isDebugEnabled()) {
|
|
56
|
+
import_diagnostics.logger.error(error);
|
|
57
|
+
}
|
|
56
58
|
throw error;
|
|
57
59
|
}
|
|
58
60
|
}
|
|
@@ -68,7 +70,9 @@ async function parseJavascript(source, options) {
|
|
|
68
70
|
});
|
|
69
71
|
return code;
|
|
70
72
|
} catch (error) {
|
|
71
|
-
import_diagnostics.logger.
|
|
73
|
+
if (import_diagnostics.logger.isDebugEnabled()) {
|
|
74
|
+
import_diagnostics.logger.error(error);
|
|
75
|
+
}
|
|
72
76
|
throw error;
|
|
73
77
|
}
|
|
74
78
|
}
|
|
@@ -37,7 +37,10 @@ export async function minifyJavascript(source) {
|
|
|
37
37
|
return code;
|
|
38
38
|
}
|
|
39
39
|
catch (error) {
|
|
40
|
-
|
|
40
|
+
// TODO logging cleanup
|
|
41
|
+
if (logger.isDebugEnabled()) {
|
|
42
|
+
logger.error(error);
|
|
43
|
+
}
|
|
41
44
|
throw error;
|
|
42
45
|
}
|
|
43
46
|
}
|
|
@@ -58,7 +61,10 @@ export async function parseJavascript(source, options) {
|
|
|
58
61
|
return code;
|
|
59
62
|
}
|
|
60
63
|
catch (error) {
|
|
61
|
-
|
|
64
|
+
// TODO logging cleanup
|
|
65
|
+
if (logger.isDebugEnabled()) {
|
|
66
|
+
logger.error(error);
|
|
67
|
+
}
|
|
62
68
|
throw error;
|
|
63
69
|
}
|
|
64
70
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.5",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"build/**/*.d.ts"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@lwrjs/diagnostics": "0.11.
|
|
51
|
-
"@lwrjs/shared-utils": "0.11.
|
|
50
|
+
"@lwrjs/diagnostics": "0.11.5",
|
|
51
|
+
"@lwrjs/shared-utils": "0.11.5",
|
|
52
52
|
"@rollup/plugin-replace": "^2.4.2",
|
|
53
53
|
"rollup": "^2.78.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@lwrjs/types": "0.11.
|
|
56
|
+
"@lwrjs/types": "0.11.5",
|
|
57
57
|
"jest": "^26.6.3",
|
|
58
58
|
"ts-jest": "^26.5.6"
|
|
59
59
|
},
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"volta": {
|
|
70
70
|
"extends": "../../../package.json"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "b1a54889dd55baed1bf61ceb497d251958415595"
|
|
73
73
|
}
|