public function getCodeBlocks()
{
$config = $this->config['loaders']['typescript'];
if (!$config['enabled']) {
return [new CodeBlock()];
}
return [(new CodeBlock())->set(CodeBlock::LOADER, sprintf("{ test: /\\.ts/, loader: '%s' }", $config['loader']))];
}