<?php
/**
 * @link https://github.com/nezhelskoy/yii2-highlight
 * @copyright Copyright (c) 2014 Dmitry Nezhelskoy
 * @license "BSD-3-Clause"
 */

namespace nezhelskoy\highlight;

use yii\web\AssetBundle;

/**
 * Asset bundle for the Highlight.js library.
 *
 * @author Dmitry Nezhelskoy <dmitry@nezhelskoy.ru>
 */
class BootstrapAsset extends AssetBundle
{
    public $sourcePath = '@vendor/isagalaev/highlight.js/';
    public $css = [
        'src/styles/default.css',
    ];
    public $js = [
        'build/highlight.pack.js',
    ];
    public $depends = [
        'app\assets\AppAsset',
    ];
}

<?php
/**
 * @link https://github.com/nezhelskoy/yii2-highlight
 * @copyright Copyright (c) 2014 Dmitry Nezhelskoy
 * @license "BSD-3-Clause"
 */

namespace nezhelskoy\highlight;

use yii\web\AssetBundle;

/**
 * Asset bundle for the Highlight.js library.
 *
 * @author Dmitry Nezhelskoy <dmitry@nezhelskoy.ru>
 */
class BootstrapAsset extends AssetBundle
{
    public $sourcePath = '@vendor/isagalaev/highlight.js/';
    public $css = [
        'dist/styles/default.css',
    ];
    public $js = [
        'dist/highlight.pack.js',
    ];
    public $depends = [
        'app\assets\AppAsset',
    ];
}

Fix path to dist files
Fix path to dist files
