Backend: Webpack assets fix
gitea/hedera-web/pipeline/head This commit looks good
Details
gitea/hedera-web/pipeline/head This commit looks good
Details
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.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "1.407.70",
|
"version": "1.407.71",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -43,7 +43,11 @@ function getWebpackAssets() {
|
||||||
&& property_exists($asset, 'js'))
|
&& property_exists($asset, 'js'))
|
||||||
$jsFiles[] = $serverPath . $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->{''}->js[0];
|
||||||
|
|
||||||
$jsFiles[] = $serverPath . $wpAssets->main->js;
|
$jsFiles[] = $serverPath . $wpAssets->main->js;
|
||||||
|
|
||||||
return $jsFiles;
|
return $jsFiles;
|
||||||
|
|
Loading…
Reference in New Issue