Created
February 25, 2015 07:59
-
-
Save alexbabintsev/b4c1f6528da6575e17fb to your computer and use it in GitHub Desktop.
Yii2: использование минифицированных версий библиотек
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'assetManager' => [ | |
'class' => 'yii\web\AssetManager', | |
'bundles' => [ | |
'yii\web\JqueryAsset' => [ | |
// 'jsOptions' => ['position' => 1], | |
'js' => [ | |
YII_ENV_DEV ? 'jquery.js' : 'jquery.min.js' | |
] | |
], | |
'yii\bootstrap\BootstrapAsset' => [ | |
'css' => [ | |
YII_ENV_DEV ? 'css/bootstrap.css' : 'css/bootstrap.min.css', | |
] | |
], | |
'yii\bootstrap\BootstrapPluginAsset' => [ | |
'js' => [ | |
YII_ENV_DEV ? 'js/bootstrap.js' : 'js/bootstrap.min.js', | |
] | |
] | |
], | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment