| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function __construct($id, $parent = null, array $config = []) |
||
| 31 | { |
||
| 32 | // Merge in the passed config, so it our config can be overridden by Plugins::pluginConfigs['vite'] |
||
| 33 | // ref: https://github.com/craftcms/cms/issues/1989 |
||
| 34 | $config = ArrayHelper::merge([ |
||
| 35 | 'components' => [ |
||
| 36 | 'minify' => MinifyService::class, |
||
| 37 | ], |
||
| 38 | ], $config); |
||
| 39 | |||
| 40 | parent::__construct($id, $parent, $config); |
||
| 41 | } |
||
| 54 |