Filters an asset just before it's dumped.
AssetInterface $asset An asset:
Overrides FilterInterface::filterDump
public function filterDump(AssetInterface $asset) {
$packer = new \JavaScriptPacker($asset
->getContent(), $this->encoding, $this->fastDecode, $this->specialChars);
$asset
->setContent($packer
->pack());
}