elegance-js 1.11.13 → 1.11.15

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.
@@ -689,10 +689,7 @@ var buildPage = async (DIST_DIR2, directory, filePath, name) => {
689
689
  if (isDynamicPage === true) {
690
690
  await esbuild.build({
691
691
  entryPoints: [filePath],
692
- outfile: filePath,
693
- outExtension: {
694
- ".mjs": ".cjs"
695
- },
692
+ outfile: path.parse(filePath).name + ".cjs",
696
693
  // necessary because we're mutilating the original
697
694
  allowOverwrite: true,
698
695
  // 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.13",
3
+ "version": "1.11.15",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "bin": {