@taujs/server 0.4.9 → 0.5.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2052,7 +2052,8 @@ var SSRServer = fp3(
2052
2052
  var resolveClientRoot = (userClientRoot) => {
2053
2053
  if (userClientRoot) return path5.isAbsolute(userClientRoot) ? userClientRoot : path5.resolve(process.cwd(), userClientRoot);
2054
2054
  const cwd = process.cwd();
2055
- return process.env.NODE_ENV === "production" ? path5.resolve(cwd, "dist/client") : path5.resolve(cwd, "client");
2055
+ if (process.env.NODE_ENV === "production") return path5.resolve(cwd, "dist/client");
2056
+ return path5.resolve(cwd, "src/client");
2056
2057
  };
2057
2058
  var createServer = async (opts) => {
2058
2059
  const t0 = performance3.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taujs/server",
3
- "version": "0.4.9",
3
+ "version": "0.5.0",
4
4
  "description": "τjs [ taujs ]",
5
5
  "author": "John Smith | Aoede <taujs@aoede.uk.net> (https://www.aoede.uk.net)",
6
6
  "license": "MIT",