См. определение в файле webpackbuilder.php строка 8
◆ __construct()
WebpackBuilder constructor.
- Аргументы
-
ResourceCollection | $resources | |
- Исключения
-
ArgumentTypeException
Переопределяет метод предка Builder.
См. определение в файле webpackbuilder.php строка 31
◆ buildFile()
Create and configure webpack file. Get exist or create new.
См. определение в файле webpackbuilder.php строка 81
◆ createPackageHash()
Create unique name for currently landing, assets set, version and view mode.
- Возвращает
- string
См. определение в файле webpackbuilder.php строка 133
◆ fillPackageWithResources()
fillPackageWithResources |
( |
| ) |
|
|
protected |
◆ normalizeBaseResources()
normalizeBaseResources |
( |
| ) |
|
|
protected |
◆ normalizeCriticalResources()
normalizeCriticalResources |
( |
| ) |
|
|
protected |
◆ normalizeResources()
Sorting resources by location, find critical resources
Переопределяет метод предка Builder.
См. определение в файле webpackbuilder.php строка 40
◆ setBaseOutput()
◆ setCriticalOutput()
Init critical resources like JS-extension. Need for primarily added on page
См. определение в файле webpackbuilder.php строка 116
◆ setOutput()
◆ $criticalResources
◆ $normalizedCriticalResources
$normalizedCriticalResources = [] |
|
protected |
◆ $webpackFile
◆ PACKAGE_CRITICAL_NAME
const PACKAGE_CRITICAL_NAME = 'landing_grid' |
|
protected |