This commit is contained in:
parent
679bdc6235
commit
339f885d1b
|
@ -1,4 +1,4 @@
|
|||
hedera-web (22.46.2) stable; urgency=low
|
||||
hedera-web (22.46.3) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "22.46.2",
|
||||
"version": "22.46.3",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
10
web/html.php
10
web/html.php
|
@ -43,10 +43,16 @@ function getWebpackAssets() {
|
|||
&& property_exists($asset, 'js'))
|
||||
$jsFiles[] = $serverPath . $asset->js;
|
||||
|
||||
function addAssets(&$jsFiles, $assets) {
|
||||
foreach ($assets->js as $asset)
|
||||
if (!str_starts_with($asset, 'chunk.'))
|
||||
$jsFiles[] = $serverPath.$asset;
|
||||
}
|
||||
|
||||
if (isset($wpAssets->_empty_))
|
||||
$jsFiles[] = $serverPath . $wpAssets->_empty_->js[0];
|
||||
addAssets($jsFiles, $wpAssets->_empty_);
|
||||
if (isset($wpAssets->{''}))
|
||||
$jsFiles[] = $serverPath . $wpAssets->{''}->js[0];
|
||||
addAssets($jsFiles, $wpAssets->{''});
|
||||
|
||||
$jsFiles[] = $serverPath . $wpAssets->main->js;
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ const prodConfig = {
|
|||
optimization: {
|
||||
moduleIds: 'deterministic'
|
||||
},
|
||||
//devtool: 'source-map'
|
||||
devtool: 'source-map'
|
||||
};
|
||||
|
||||
const devConfig = {
|
||||
|
|
Loading…
Reference in New Issue