@akanjs/cli 0.0.132 → 0.0.133
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 +4 -1
- package/esm/index.js +4 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -4809,7 +4809,10 @@ var ApplicationRunner = class {
|
|
|
4809
4809
|
outDir: `${app.dist.cwdPath}/csr`,
|
|
4810
4810
|
sourcemap: false,
|
|
4811
4811
|
emptyOutDir: true,
|
|
4812
|
-
rollupOptions: {
|
|
4812
|
+
rollupOptions: {
|
|
4813
|
+
...process.env.USE_AKANJS_PKGS === "true" ? {} : { external: ["next/server"] },
|
|
4814
|
+
input: `${app.cwdPath}/app/index.html`
|
|
4815
|
+
}
|
|
4813
4816
|
},
|
|
4814
4817
|
css: { postcss: `${app.cwdPath}/postcss.config.js` },
|
|
4815
4818
|
publicDir: `${app.cwdPath}/public`,
|
package/esm/index.js
CHANGED
|
@@ -4796,7 +4796,10 @@ var ApplicationRunner = class {
|
|
|
4796
4796
|
outDir: `${app.dist.cwdPath}/csr`,
|
|
4797
4797
|
sourcemap: false,
|
|
4798
4798
|
emptyOutDir: true,
|
|
4799
|
-
rollupOptions: {
|
|
4799
|
+
rollupOptions: {
|
|
4800
|
+
...process.env.USE_AKANJS_PKGS === "true" ? {} : { external: ["next/server"] },
|
|
4801
|
+
input: `${app.cwdPath}/app/index.html`
|
|
4802
|
+
}
|
|
4800
4803
|
},
|
|
4801
4804
|
css: { postcss: `${app.cwdPath}/postcss.config.js` },
|
|
4802
4805
|
publicDir: `${app.cwdPath}/public`,
|