@lwrjs/tools 0.13.0-alpha.9 → 0.13.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.
|
@@ -108,6 +108,8 @@ function printRouteHandlers(routeHandlers) {
|
|
|
108
108
|
}).join(",")}}`;
|
|
109
109
|
}
|
|
110
110
|
function buildLwrServer(config, buildDir) {
|
|
111
|
+
process.env.SINGLE_RENDER_MODE = "true";
|
|
112
|
+
process.env.REEVALUATE_MODULES = "true";
|
|
111
113
|
return {
|
|
112
114
|
name: "lwr-server-build",
|
|
113
115
|
setup(build) {
|
|
@@ -100,6 +100,10 @@ function printRouteHandlers(routeHandlers) {
|
|
|
100
100
|
* @returns esbuild plugin
|
|
101
101
|
*/
|
|
102
102
|
export default function buildLwrServer(config, buildDir) {
|
|
103
|
+
// Lambda always runs one request at a time
|
|
104
|
+
process.env.SINGLE_RENDER_MODE = 'true';
|
|
105
|
+
// TODO: remove once W-16104831 is resolved
|
|
106
|
+
process.env.REEVALUATE_MODULES = 'true';
|
|
103
107
|
return {
|
|
104
108
|
name: 'lwr-server-build',
|
|
105
109
|
setup(build) {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.13.
|
|
7
|
+
"version": "0.13.1",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"module": "build/es/index.js",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tsc -b",
|
|
22
|
-
"clean": "
|
|
22
|
+
"clean": "rimraf build node_modules",
|
|
23
23
|
"test": "jest"
|
|
24
24
|
},
|
|
25
25
|
"exports": {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"package.cjs"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@lwrjs/config": "0.13.
|
|
38
|
-
"@lwrjs/core": "0.13.
|
|
39
|
-
"@lwrjs/diagnostics": "0.13.
|
|
40
|
-
"@lwrjs/shared-utils": "0.13.
|
|
41
|
-
"@lwrjs/static": "0.13.
|
|
37
|
+
"@lwrjs/config": "0.13.1",
|
|
38
|
+
"@lwrjs/core": "0.13.1",
|
|
39
|
+
"@lwrjs/diagnostics": "0.13.1",
|
|
40
|
+
"@lwrjs/shared-utils": "0.13.1",
|
|
41
|
+
"@lwrjs/static": "0.13.1",
|
|
42
42
|
"esbuild": "^0.17.4",
|
|
43
43
|
"fs-extra": "^11.2.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@lwrjs/types": "0.13.
|
|
46
|
+
"@lwrjs/types": "0.13.1",
|
|
47
47
|
"jest": "^26.6.3",
|
|
48
48
|
"mock-fs": "^5.2.0",
|
|
49
49
|
"ts-jest": "^26.5.6"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"volta": {
|
|
58
58
|
"extends": "../../../package.json"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "548b27ed22f5bfba7031d6b356d64898e15bd609"
|
|
61
61
|
}
|