Add file specific aliases for framework.extras (#3936)
This commit adds two new aliases for the files associated with `framework.extras`. One to load the CSS (`framework.extras.css`) and for JS (`framework.extras.js`). Credit to @CptMeatball. Resolves #3909. Related: https://github.com/octobercms/docs/pull/334
This commit is contained in:
parent
9699aacaed
commit
e481206b49
|
|
@ -150,7 +150,9 @@ class CombineAssets
|
||||||
$this->registerAlias('jquery', '~/modules/backend/assets/js/vendor/jquery-and-migrate.min.js');
|
$this->registerAlias('jquery', '~/modules/backend/assets/js/vendor/jquery-and-migrate.min.js');
|
||||||
$this->registerAlias('framework', '~/modules/system/assets/js/framework.js');
|
$this->registerAlias('framework', '~/modules/system/assets/js/framework.js');
|
||||||
$this->registerAlias('framework.extras', '~/modules/system/assets/js/framework.extras.js');
|
$this->registerAlias('framework.extras', '~/modules/system/assets/js/framework.extras.js');
|
||||||
|
$this->registerAlias('framework.extras.js', '~/modules/system/assets/js/framework.extras.js');
|
||||||
$this->registerAlias('framework.extras', '~/modules/system/assets/css/framework.extras.css');
|
$this->registerAlias('framework.extras', '~/modules/system/assets/css/framework.extras.css');
|
||||||
|
$this->registerAlias('framework.extras.css', '~/modules/system/assets/css/framework.extras.css');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Deferred registration
|
* Deferred registration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue