public function getNamedAssetUrl($assetName, $type = null)
    {
        $manifestEntry = $this->getManifestEntry(
            $assetName,
            $assetName,
            'This is probably a commons chunk - is it configured by this name in webpack.config.js?'
        );

        if ($type === null) {
            $type = self::TYPE_JS;
        }

        return isset($manifestEntry[$type]) ? $manifestEntry[$type] : null;
    }