This might not be possible because for instance Angular's build runs in a node environment but the output ultimately runs in a browser.