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.
- package/dist/page_compiler.mjs +1 -4
- package/package.json +1 -1
package/dist/page_compiler.mjs
CHANGED
|
@@ -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
|