• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/assets/webpackfile.php
  • Класс: BitrixLandingAssetsWebpackFile
  • Вызов: WebpackFile::build
public function build(): void
{
	$this->configureFile();
	$this->configureResources();

	// create new file
	if (!$this->fileId)
	{
		$res = $this->fileController->build();
		if ($res->isSuccess())
		{
			$this->fileId = $res->getId();
			File::addToAsset($this->landingId, $this->fileId);

			// tmp fixing agent for 149117
			Agent::addUniqueAgent('checkFileExists', [$this->fileId], 86400, 60);
		}
	}
}