mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-24 18:51:27 +08:00
avoid publishing dev files of js packages
This commit is contained in:
@@ -19,9 +19,9 @@ use yii\web\AssetBundle;
|
||||
*/
|
||||
class MaskedInputAsset extends AssetBundle
|
||||
{
|
||||
public $sourcePath = '@bower/jquery.inputmask';
|
||||
public $sourcePath = '@bower/jquery.inputmask/dist';
|
||||
public $js = [
|
||||
'dist/jquery.inputmask.bundle.js'
|
||||
'jquery.inputmask.bundle.js'
|
||||
];
|
||||
public $depends = [
|
||||
'yii\web\YiiAsset'
|
||||
|
||||
Reference in New Issue
Block a user