refs #3971 Webpack assets: exclude imported
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
ece21bb929
commit
ae70cd2b4e
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (22.46.4) stable; urgency=low
|
hedera-web (22.46.5) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "22.46.4",
|
"version": "22.46.5",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -45,7 +45,7 @@ function getWebpackAssets() {
|
||||||
|
|
||||||
function addAssets(&$jsFiles, $assets) {
|
function addAssets(&$jsFiles, $assets) {
|
||||||
foreach ($assets->js as $asset)
|
foreach ($assets->js as $asset)
|
||||||
if (strpos($asset, 'chunk.') !== 0)
|
if (preg_match('/^chunk\./', basename($asset)) === 0)
|
||||||
$jsFiles[] = $serverPath.$asset;
|
$jsFiles[] = $serverPath.$asset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue