public function webpackPublic($url)
    {
        $public_dir = '/' . ltrim($this->dump_path, '/');

        $url = preg_replace_callback('/^@(?<bundle>\w+)/', function ($match) {
            $str = $match['bundle'];
            if (substr($str, \strlen($str) - 6) === 'Bundle') {
                $str = substr($str, 0, -6);
            }
            return strtolower($str);
        }, $url);

        return rtrim($public_dir, '/') . '/' . ltrim($url, '/');
    }