miolo 2.0.0-beta.8 → 2.0.0-beta.9
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/bin/build-server.mjs
CHANGED
|
@@ -20,6 +20,7 @@ export async function _fixProdBuild(appName, filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export default async function({ appName, ssrEntry, ssrDest, entry, dest }) {
|
|
23
|
+
cleanFolder(dest)
|
|
23
24
|
|
|
24
25
|
console.log(`[${appName}][prod] Building first the SSR entry ${ssrEntry}`)
|
|
25
26
|
await build({
|
|
@@ -36,8 +37,6 @@ export default async function({ appName, ssrEntry, ssrDest, entry, dest }) {
|
|
|
36
37
|
})
|
|
37
38
|
|
|
38
39
|
console.log(`[${appName}][prod] Building server from entry ${entry}`)
|
|
39
|
-
cleanFolder(dest)
|
|
40
|
-
|
|
41
40
|
const serverExt = 'node.bundle.mjs'
|
|
42
41
|
await xeiraBundle({
|
|
43
42
|
source_index: entry,
|