forked from verdnatura/hedera-web
Backend: Webpack assets fix
This commit is contained in:
parent
60eabacf22
commit
2f0dc7e282
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.407.70) stable; urgency=low
|
||||
hedera-web (1.407.71) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.407.70",
|
||||
"version": "1.407.71",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -43,7 +43,11 @@ function getWebpackAssets() {
|
|||
&& property_exists($asset, 'js'))
|
||||
$jsFiles[] = $serverPath . $asset->js;
|
||||
|
||||
if (isset($wpAssets->_empty_))
|
||||
$jsFiles[] = $serverPath . $wpAssets->_empty_->js[0];
|
||||
if (isset($wpAssets->{''}))
|
||||
$jsFiles[] = $serverPath . $wpAssets->{''}->js[0];
|
||||
|
||||
$jsFiles[] = $serverPath . $wpAssets->main->js;
|
||||
|
||||
return $jsFiles;
|
||||
|
|
Loading…
Reference in New Issue