Commit c3d62ce6 authored by Carsten Brandt's avatar Carsten Brandt

avoid publishing dev files of js packages

parent 774ae2e1
......@@ -17,8 +17,8 @@ use yii\web\AssetBundle;
*/
class BootstrapAsset extends AssetBundle
{
public $sourcePath = '@bower/bootstrap';
public $sourcePath = '@bower/bootstrap/dist';
public $css = [
'dist/css/bootstrap.css',
'css/bootstrap.css',
];
}
......@@ -17,9 +17,9 @@ use yii\web\AssetBundle;
*/
class BootstrapPluginAsset extends AssetBundle
{
public $sourcePath = '@bower/bootstrap';
public $sourcePath = '@bower/bootstrap/dist';
public $js = [
'dist/js/bootstrap.js',
'js/bootstrap.js',
];
public $depends = [
'yii\web\JqueryAsset',
......
......@@ -17,9 +17,9 @@ use yii\web\AssetBundle;
*/
class BootstrapThemeAsset extends AssetBundle
{
public $sourcePath = '@bower/bootstrap';
public $sourcePath = '@bower/bootstrap/dist';
public $css = [
'dist/css/bootstrap-theme.css',
'css/bootstrap-theme.css',
];
public $depends = [
'yii\bootstrap\BootstrapAsset',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment