@lwrjs/tools 0.13.0-alpha.22 → 0.13.0-alpha.23

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.0-alpha.22",
7
+ "version": "0.13.0-alpha.23",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -34,16 +34,16 @@
34
34
  "package.cjs"
35
35
  ],
36
36
  "dependencies": {
37
- "@lwrjs/config": "0.13.0-alpha.22",
38
- "@lwrjs/core": "0.13.0-alpha.22",
39
- "@lwrjs/diagnostics": "0.13.0-alpha.22",
40
- "@lwrjs/shared-utils": "0.13.0-alpha.22",
41
- "@lwrjs/static": "0.13.0-alpha.22",
37
+ "@lwrjs/config": "0.13.0-alpha.23",
38
+ "@lwrjs/core": "0.13.0-alpha.23",
39
+ "@lwrjs/diagnostics": "0.13.0-alpha.23",
40
+ "@lwrjs/shared-utils": "0.13.0-alpha.23",
41
+ "@lwrjs/static": "0.13.0-alpha.23",
42
42
  "esbuild": "^0.17.4",
43
43
  "fs-extra": "^11.2.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@lwrjs/types": "0.13.0-alpha.22",
46
+ "@lwrjs/types": "0.13.0-alpha.23",
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": "a5af2e1674c93c9c0d4c250edba8f11302f33b70"
60
+ "gitHead": "7c01d905fc988ca06c013c53d4a4104648d92667"
61
61
  }