0
1
Fork 0

refs #3971 Webpack assets: exclude imported

This commit is contained in:
Juan Ferrer 2022-11-18 01:24:23 +01:00
parent ece21bb929
commit ae70cd2b4e
3 changed files with 3 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (22.46.4) stable; urgency=low
hedera-web (22.46.5) stable; urgency=low
* Initial Release.

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "22.46.4",
"version": "22.46.5",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {

View File

@ -45,7 +45,7 @@ function getWebpackAssets() {
function addAssets(&$jsFiles, $assets) {
foreach ($assets->js as $asset)
if (strpos($asset, 'chunk.') !== 0)
if (preg_match('/^chunk\./', basename($asset)) === 0)
$jsFiles[] = $serverPath.$asset;
}