hytopia 0.10.12-prerelease-2 → 0.10.13
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/scripts.js +4 -1
- package/package.json +1 -1
- package/server.mjs +2 -2
package/bin/scripts.js
CHANGED
@@ -438,9 +438,10 @@ async function packageProject() {
|
|
438
438
|
|
439
439
|
// Test server startup & make sure optimizer has ran
|
440
440
|
console.log('🧪 Testing server startup and making sure optimizer has ran...');
|
441
|
+
|
441
442
|
logDivider();
|
442
443
|
|
443
|
-
const child = spawn(process.execPath, ['--enable-source-maps', 'index.mjs'], { stdio: 'pipe' });
|
444
|
+
const child = spawn(process.execPath, ['--enable-source-maps', 'index.mjs'], { stdio: 'pipe', shell: false });
|
444
445
|
|
445
446
|
await new Promise(resolve => {
|
446
447
|
child.stdout.on('data', data => {
|
@@ -453,6 +454,8 @@ async function packageProject() {
|
|
453
454
|
});
|
454
455
|
});
|
455
456
|
|
457
|
+
logDivider();
|
458
|
+
|
456
459
|
// Prepare to package
|
457
460
|
const outputFile = path.join(sourceDir, `${projectName}.zip`);
|
458
461
|
|
package/package.json
CHANGED