elegance-js 1.11.15 → 1.11.16

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.
@@ -687,9 +687,10 @@ var buildPage = async (DIST_DIR2, directory, filePath, name) => {
687
687
  pageElements = page;
688
688
  metadata = pageMetadata;
689
689
  if (isDynamicPage === true) {
690
+ const parsed = path.parse(filePath);
690
691
  await esbuild.build({
691
692
  entryPoints: [filePath],
692
- outfile: path.parse(filePath).name + ".cjs",
693
+ outfile: path.join(parsed.dir, parsed.name + ".cjs"),
693
694
  // necessary because we're mutilating the original
694
695
  allowOverwrite: true,
695
696
  // dont bundle because the origina build handles moduleresolution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "1.11.15",
3
+ "version": "1.11.16",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "bin": {