public function addBundle($name, array $deps)
    {
        if ($name == '') {
            throw new exception\InvalidArgumentException('The require.js bundle name must not be empty');
        }

        $this->bundles[$name] = [];
        $this->addToBundle($name, $deps);

        return $this;
    }