@akanjs/cli 0.0.133 → 0.0.134

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.
package/cjs/index.js CHANGED
@@ -4801,7 +4801,7 @@ var ApplicationRunner = class {
4801
4801
  const { env } = await this.#prepareCommand(app, command, "csr");
4802
4802
  const tsconfig = app.workspace.getTsConfig();
4803
4803
  const processEnv = env;
4804
- const akanjsPrefix = process.env.USE_AKANJS_PKGS === "true" ? `${app.workspace.workspaceRoot}/pkgs/` : `${app.workspace.workspaceRoot}/pkgs/`;
4804
+ const akanjsPrefix = process.env.USE_AKANJS_PKGS === "true" ? `${app.workspace.workspaceRoot}/pkgs/` : "";
4805
4805
  const config = vite.defineConfig({
4806
4806
  root: `${app.cwdPath}/app`,
4807
4807
  base: "/",
@@ -4810,7 +4810,7 @@ var ApplicationRunner = class {
4810
4810
  sourcemap: false,
4811
4811
  emptyOutDir: true,
4812
4812
  rollupOptions: {
4813
- ...process.env.USE_AKANJS_PKGS === "true" ? {} : { external: ["next/server"] },
4813
+ // ...(process.env.USE_AKANJS_PKGS === "true" ? {} : { external: ["next/server"] }),
4814
4814
  input: `${app.cwdPath}/app/index.html`
4815
4815
  }
4816
4816
  },
package/esm/index.js CHANGED
@@ -4788,7 +4788,7 @@ var ApplicationRunner = class {
4788
4788
  const { env } = await this.#prepareCommand(app, command, "csr");
4789
4789
  const tsconfig = app.workspace.getTsConfig();
4790
4790
  const processEnv = env;
4791
- const akanjsPrefix = process.env.USE_AKANJS_PKGS === "true" ? `${app.workspace.workspaceRoot}/pkgs/` : `${app.workspace.workspaceRoot}/pkgs/`;
4791
+ const akanjsPrefix = process.env.USE_AKANJS_PKGS === "true" ? `${app.workspace.workspaceRoot}/pkgs/` : "";
4792
4792
  const config = vite.defineConfig({
4793
4793
  root: `${app.cwdPath}/app`,
4794
4794
  base: "/",
@@ -4797,7 +4797,7 @@ var ApplicationRunner = class {
4797
4797
  sourcemap: false,
4798
4798
  emptyOutDir: true,
4799
4799
  rollupOptions: {
4800
- ...process.env.USE_AKANJS_PKGS === "true" ? {} : { external: ["next/server"] },
4800
+ // ...(process.env.USE_AKANJS_PKGS === "true" ? {} : { external: ["next/server"] }),
4801
4801
  input: `${app.cwdPath}/app/index.html`
4802
4802
  }
4803
4803
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sourceType": "module",
3
3
  "name": "@akanjs/cli",
4
- "version": "0.0.133",
4
+ "version": "0.0.134",
5
5
  "bin": {
6
6
  "akan": "cjs/index.js"
7
7
  },