@akanjs/cli 0.0.51 → 0.0.53
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 +9 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4221,10 +4221,15 @@ page.tsx_end
|
|
|
4221
4221
|
if (buildResult.outputFiles)
|
|
4222
4222
|
buildResult.outputFiles.map((file) => distPkg.writeFile(file.path, file.text));
|
|
4223
4223
|
if (["@akanjs/next", "@akanjs/common"].includes(pkg.name)) {
|
|
4224
|
-
await
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4224
|
+
buildResult = await esbuild2.build({
|
|
4225
|
+
write: true,
|
|
4226
|
+
entryPoints: [`${pkg.cwdPath}/index.ts`],
|
|
4227
|
+
bundle: false,
|
|
4228
|
+
packages: "external",
|
|
4229
|
+
format: "esm",
|
|
4230
|
+
outdir: distPkg.cwdPath,
|
|
4231
|
+
logLevel: "error"
|
|
4232
|
+
});
|
|
4228
4233
|
}
|
|
4229
4234
|
distPkg.writeJson("package.json", pkgPackageJson);
|
|
4230
4235
|
}
|