Merge pull request 'Backend: Webpack assets fix' (#7) from 3971-modernizeStyle into test
gitea/hedera-web/pipeline/head This commit looks good
Details
gitea/hedera-web/pipeline/head This commit looks good
Details
Reviewed-on: #7
This commit is contained in:
commit
1c311a851f
|
@ -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