bertui 0.2.8 ā 0.2.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/package.json +1 -1
- package/src/build.js +9 -1
package/package.json
CHANGED
package/src/build.js
CHANGED
|
@@ -98,6 +98,14 @@ export async function buildProduction(options = {}) {
|
|
|
98
98
|
size: `${(o.size / 1024).toFixed(2)} KB`
|
|
99
99
|
})));
|
|
100
100
|
|
|
101
|
+
// Show deployment instructions
|
|
102
|
+
logger.bigLog('READY TO DEPLOY', { color: 'green' });
|
|
103
|
+
console.log('\nš¤ Deploy your app:\n');
|
|
104
|
+
console.log(' Vercel: bunx vercel');
|
|
105
|
+
console.log(' Netlify: bunx netlify deploy');
|
|
106
|
+
console.log('\nš Preview locally:\n');
|
|
107
|
+
console.log(' bun run preview\n');
|
|
108
|
+
|
|
101
109
|
} catch (error) {
|
|
102
110
|
logger.error(`Build failed: ${error.message}`);
|
|
103
111
|
if (error.stack) {
|
|
@@ -456,4 +464,4 @@ async function generateProductionHTML(root, outDir, buildResult) {
|
|
|
456
464
|
|
|
457
465
|
await Bun.write(join(outDir, 'index.html'), html);
|
|
458
466
|
logger.success('Generated index.html');
|
|
459
|
-
}
|
|
467
|
+
}
|