Right now the minification process when building just returns if there was an error and the error itself, but no context around what code is causing it. This makes it hard to debug since there is no way to search all custom code in Launch; users instead have to go rule by rule to find the error.
For example, I could have the following (valid) custom code in a rule:
let myVar = "foo";
But since this is ES6, the minifier will fail, saying "There was an error minifying your custom code":
This does not provide any useful information on where/why the minifier is failing. It'd be nice to see the rule/extension/data element, as well as the line number of what is causing the issue:
Even if just a stopgap, being able to see the raw JS file before it goes through the minifier to search for the error would be helpful.