Merge pull request #23148 from totten/5.48-cache-ver-suffix
[civicrm-core.git] / ang / crmUi.ang.php
1 <?php
2 // This file declares an Angular module which can be autoloaded
3 $isDebug = Civi::settings()->get('debug_enabled');
4
5 return [
6 'ext' => 'civicrm',
7 'js' => ['ang/crmUi.js'],
8 'partials' => ['ang/crmUi'],
9 'css' => ['ang/crmUI.css'],
10 'requires' => array_merge(
11 [
12 'crmResource',
13 'ui.utils',
14 ],
15 // Only require the +10kb if we're likely to need it.
16 $isDebug ? ['jsonFormatter'] : []
17 ),
18 ];