public function filterDump(AssetInterface $asset)
{
$relativePath = $this->getRelativePath($this->basePath, $asset->getSourceRoot() . '/');
$filename = pathinfo($asset->getSourcePath(), PATHINFO_FILENAME);
$content = str_replace('"', '\\"', $asset->getContent());
$content = preg_replace("/[\r?\n]+/", "", $content);
$jst = 'JST = (typeof JST === "undefined") ? JST = {} : JST;' . PHP_EOL;
$jst .= 'JST["' . $relativePath . $filename . '"] = "';
$jst .= $content;
$jst .= '";' . PHP_EOL;
$asset->setContent($jst);
}