@akanjs/cli 0.0.105 → 0.0.107
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/index.js +2 -14
- package/index.mjs +2 -14
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4063,19 +4063,14 @@ var ApplicationRunner = class {
|
|
|
4063
4063
|
outDir: `${app.dist.cwdPath}/csr`,
|
|
4064
4064
|
sourcemap: false,
|
|
4065
4065
|
emptyOutDir: true,
|
|
4066
|
-
rollupOptions: { external: ["next/server"], input: `${app.cwdPath}/app/index.html` }
|
|
4066
|
+
rollupOptions: { external: ["next/server", "@akanjs/base"], input: `${app.cwdPath}/app/index.html` }
|
|
4067
4067
|
},
|
|
4068
4068
|
css: { postcss: `${app.cwdPath}/postcss.config.js` },
|
|
4069
4069
|
publicDir: `${app.cwdPath}/public`,
|
|
4070
4070
|
plugins: [
|
|
4071
4071
|
(0, import_plugin_react.default)(),
|
|
4072
4072
|
(0, import_vite_tsconfig_paths.default)(),
|
|
4073
|
-
(0, import_vite_plugin_commonjs.default)(
|
|
4074
|
-
filter(id) {
|
|
4075
|
-
if (id.includes("@akanjs/base"))
|
|
4076
|
-
return true;
|
|
4077
|
-
}
|
|
4078
|
-
}),
|
|
4073
|
+
(0, import_vite_plugin_commonjs.default)(),
|
|
4079
4074
|
(0, import_vite_plugin_node_polyfills.nodePolyfills)({
|
|
4080
4075
|
exclude: ["fs"],
|
|
4081
4076
|
include: ["crypto", "process", "stream", "util"],
|
|
@@ -4118,13 +4113,6 @@ var ApplicationRunner = class {
|
|
|
4118
4113
|
"process.platform": JSON.stringify("browser"),
|
|
4119
4114
|
"process.version": JSON.stringify(process.version)
|
|
4120
4115
|
},
|
|
4121
|
-
// optimizeDeps: {
|
|
4122
|
-
// include: ["@akanjs/base"],
|
|
4123
|
-
// esbuildOptions: {
|
|
4124
|
-
// format: "esm",
|
|
4125
|
-
// target: "esnext",
|
|
4126
|
-
// }
|
|
4127
|
-
// }
|
|
4128
4116
|
server: { host: "0.0.0.0", port: 4201 },
|
|
4129
4117
|
logLevel: "error"
|
|
4130
4118
|
});
|
package/index.mjs
CHANGED
|
@@ -4382,19 +4382,14 @@ var init_application_runner = __esm({
|
|
|
4382
4382
|
outDir: `${app.dist.cwdPath}/csr`,
|
|
4383
4383
|
sourcemap: false,
|
|
4384
4384
|
emptyOutDir: true,
|
|
4385
|
-
rollupOptions: { external: ["next/server"], input: `${app.cwdPath}/app/index.html` }
|
|
4385
|
+
rollupOptions: { external: ["next/server", "@akanjs/base"], input: `${app.cwdPath}/app/index.html` }
|
|
4386
4386
|
},
|
|
4387
4387
|
css: { postcss: `${app.cwdPath}/postcss.config.js` },
|
|
4388
4388
|
publicDir: `${app.cwdPath}/public`,
|
|
4389
4389
|
plugins: [
|
|
4390
4390
|
react(),
|
|
4391
4391
|
tsconfigPaths(),
|
|
4392
|
-
commonjs(
|
|
4393
|
-
filter(id) {
|
|
4394
|
-
if (id.includes("@akanjs/base"))
|
|
4395
|
-
return true;
|
|
4396
|
-
}
|
|
4397
|
-
}),
|
|
4392
|
+
commonjs(),
|
|
4398
4393
|
nodePolyfills({
|
|
4399
4394
|
exclude: ["fs"],
|
|
4400
4395
|
include: ["crypto", "process", "stream", "util"],
|
|
@@ -4437,13 +4432,6 @@ var init_application_runner = __esm({
|
|
|
4437
4432
|
"process.platform": JSON.stringify("browser"),
|
|
4438
4433
|
"process.version": JSON.stringify(process.version)
|
|
4439
4434
|
},
|
|
4440
|
-
// optimizeDeps: {
|
|
4441
|
-
// include: ["@akanjs/base"],
|
|
4442
|
-
// esbuildOptions: {
|
|
4443
|
-
// format: "esm",
|
|
4444
|
-
// target: "esnext",
|
|
4445
|
-
// }
|
|
4446
|
-
// }
|
|
4447
4435
|
server: { host: "0.0.0.0", port: 4201 },
|
|
4448
4436
|
logLevel: "error"
|
|
4449
4437
|
});
|