protected function mapType($build)
    {
        $ext = $build->ext();
        $types = [
            'css' => 'text/css',
            'js' => 'application/javascript'
        ];

        return isset($types[$ext]) ? $types[$ext] : 'application/octet-stream';
    }
protected function mapType($build)
    {
        $ext = $build->ext();
        $types = [
            'css' => 'text/css',
            'js' => 'application/javascript'
        ];

        return isset($types[$ext]) ? $types[$ext] : 'application/octet-stream';
    }
protected function mapType ( $ build ) { $ ext = $ build -> ext ( ) ; $ types = [ 'css' => 'text/css' , 'js' => 'application/javascript' ] ; return isset ( $ types [ $ ext ] ) ? $ types [ $ ext ] : 'application/octet-stream' ; }
Map an extension to a content type

@param \MiniAsset\AssetTarget $build The build target.
@return string The mapped content type.
Map an extension to a content type