Charles Lyding 2435b46560 fix(@angular-devkit/build-angular): allow empty scripts to be optimized
When using the internal JavaScript optimizer plugin for Webpack with an
empty script file provided via the `scripts` option, the build would fail.
This was because of a safety check that was checking whether the terser
result was falsy. Since an empty string is considered falsy, the build
considered the result to be an error. The safety check now will only trigger
if the terser result is not a string value to avoid this case.
2023-02-16 19:11:34 +00:00
..
2023-02-16 14:59:40 +00:00
2023-02-16 14:59:40 +00:00
2023-02-16 14:59:40 +00:00
2023-02-16 14:59:40 +00:00
2023-02-16 14:59:40 +00:00
2023-02-16 14:59:40 +00:00