bimba-cli 0.2.8 → 0.3.0
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/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -114,9 +114,9 @@ async function bundle() {
|
|
|
114
114
|
});
|
|
115
115
|
|
|
116
116
|
if(stats.failed)
|
|
117
|
-
console.log(theme.start(theme.failure("Failure
|
|
117
|
+
console.log(theme.start(theme.failure(" Failure ") + theme.filename(` Imba compiler failed to proceed ${stats.failed} file${stats.failed > 1 ? 's' : ''}`)));
|
|
118
118
|
else
|
|
119
|
-
console.log(theme.start(theme.success("Success
|
|
119
|
+
console.log(theme.start(theme.success("Success") +` It took ${theme.time(Date.now() - start)} ms to bundle ${theme.count(stats.bundled)} file${stats.bundled > 1 ? 's' : ''} to the folder: ${theme.filedir(flags.outdir)}`));
|
|
120
120
|
|
|
121
121
|
if(!result.success && !stats.errors){
|
|
122
122
|
for (const log of result.logs) {
|
|
@@ -129,7 +129,7 @@ async function bundle() {
|
|
|
129
129
|
console.log('')
|
|
130
130
|
console.log(error)
|
|
131
131
|
console.log('--------------------------------------------------------------')
|
|
132
|
-
console.log(theme.failure("Failure
|
|
132
|
+
console.log(theme.failure(" Failure ") + theme.filename(' Bun found an error in the compiled JS file'))
|
|
133
133
|
}
|
|
134
134
|
finally {
|
|
135
135
|
bundling = false;
|