For anyone running in to this issue:
Add this:
- var inLengthComp = compressCollection([text], [mapObj]).length();
- if(
- inLengthComp ==0
- ) {
- steal.print(" ! compression failed " + stl.rootSrc + ' has syntactical issues. Eg usage of double comment asterisks.');
- } else {
- steal.print(" -> Compression OK " + stl.rootSrc + ' compressed to ' + inLengthComp + ' bytes\n');
- }
to steal\build\scripts\scripts.js insert after line ±100 ( statement: currentLineMap.push(mapObj);)
It will then tell you which JS file bombs.