mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
This change will allow the individual JS assets that are compiled into a full compilation file to be loaded individually instead, allowing the developer to see their changes immediately. It introduces a new configuration variable, `cms.decompileBackendAssets`, that controls this functionality. By default, it is false and not tied to the debug value, requiring it to be explicitly enabled.
25 lines
744 B
PHP
25 lines
744 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Decompile backend assets
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Enabling this will load all individual backend asset files, instead of
|
|
| loading the compiled asset files generated by `october:util compile
|
|
| assets`. This is useful only for development purposes, and should not be
|
|
| enabled in production. Please note that enabling this will make the
|
|
| Backend load a LOT of individual asset files.
|
|
|
|
|
| true - allow decompiled backend assets
|
|
|
|
|
| false - use compiled backend assets (default)
|
|
|
|
|
*/
|
|
|
|
'decompileBackendAssets' => false,
|
|
|
|
];
|