eddev 0.2.0-beta.51 → 0.2.0-beta.52

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.
@@ -335,7 +335,7 @@ function getWebpackConfig(opts) {
335
335
  DEFINES["process.BLOCK_MANIFEST_FILE"] = JSON.stringify(ALIAS["@manifest/blocks"]);
336
336
  }
337
337
  DEFINES["process.devUI"] = config.devUI === "enabled";
338
- DEFINES["process.serverlessEndpoint"] = "window.SERVERLESS_ENDPOINT";
338
+ DEFINES["process.serverlessEndpoint"] = "(window.SERVERLESS_ENDPOINT || '')";
339
339
  rpcExists = (0, fs_1.existsSync)(path_1.default.join(opts.baseDirectory, "apis/_rpc.ts")) ||
340
340
  (0, fs_1.existsSync)(path_1.default.join(opts.baseDirectory, "apis/_rpc/index.ts"));
341
341
  DEFINES["process.rpcEnabled"] = rpcExists ? "true" : "false";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eddev",
3
- "version": "0.2.0-beta.51",
3
+ "version": "0.2.0-beta.52",
4
4
  "main": "./index.js",
5
5
  "license": "MIT",
6
6
  "bin": {