Merge pull request #153 from ricpelo/master

Add @bower and @npm aliases in config/console.php
This commit is contained in:
Dmitry Naumenko 2017-11-11 09:09:48 +02:00 committed by GitHub
commit 988bfd39df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,10 @@ $config = [
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'controllerNamespace' => 'app\commands',
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',