Requires: phpFox version >= 4.6.0
...
- First, you need to add a plugin/hook name
bundle__start
in your apps/themes. - Then, add the list of files that will be bundled with Core files.
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
$aBundleScripts[] = [
'{file_path}' => '{product_type}_{product_dir_name}',
];
|
{
file_path
}: the relative path of file withassets
directory.
{product_type
}: type of your product.app
orflavors
(App or Theme)
{product_dir_name
}: name of your product directory.
...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
$aBundleScripts[] = [
'autoload.js' => 'app_core-blogs',
];
|