bimba-cli 0.2.6 → 0.2.8
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 +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -114,7 +114,7 @@ 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
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
|
|
|
@@ -125,8 +125,11 @@ async function bundle() {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
catch(error) {
|
|
128
|
+
console.log('--------------------------------------------------------------')
|
|
128
129
|
console.log('')
|
|
129
130
|
console.log(error)
|
|
131
|
+
console.log('--------------------------------------------------------------')
|
|
132
|
+
console.log(theme.failure("Failure.") + theme.filename(' Bun found an error in the compiled JS file'))
|
|
130
133
|
}
|
|
131
134
|
finally {
|
|
132
135
|
bundling = false;
|