File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 22 "name" : " diverently/laravel-mix-kirby" ,
33 "description" : " Laravel Mix helper for the Kirby CMS" ,
44 "type" : " kirby-plugin" ,
5+ "version" : " 1.4.2" ,
56 "license" : " MIT" ,
67 "authors" : [{
78 "name" : " Robert Cordes" ,
Original file line number Diff line number Diff line change 33 * Laravel Mix helper for the Kirby CMS
44 */
55
6+ Kirby::plugin ('diverently/laravel-mix-kirby ' , []);
7+
68if (! function_exists ('mix ' )) {
79 /**
810 * Get the appropriate HTML tag with the right path for the (versioned) Mix file.
911 *
1012 * @param string|array $path Path as it appears in the mix-manifest.json or an
1113 * array of paths to look for
12- * @param string|bool|array $options Pass an array of attributes for the tag
13- * or a string/bool. A string behaves in the same way as in Kirby's `css()`
14- * and `js()` helper functions: for css files it will be used as the value
15- * of the media attribute, for js files it will determine wether or not the
14+ * @param string|bool|array $options Pass an array of attributes for the tag
15+ * or a string/bool. A string behaves in the same way as in Kirby's `css()`
16+ * and `js()` helper functions: for css files it will be used as the value
17+ * of the media attribute, for js files it will determine wether or not the
1618 * script is async.
1719 * @return string Either a <link> or a <script> tag, depending on the $path
1820 *
You can’t perform that action at this time.
0 commit comments