Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
baler-preload-map.json
For the Graph Preloading functionality, it's necessary for baler to spit out a mapping of JavaScript dependencies needed per .phtml file.
Graph Preloading
baler
.phtml
requirejs-baler-config.js
Magento_Baler
{ "vendor/magento/module-example/view/frontend/templates/some-template.phtml": ["path/to/file/1.js", "path/to/file/2.js"], "vendor/thirdparty/module-bar/view/frontend/templates/another-template.phtml": ["another/file.js", "yet/another/file/2.js"] }
The text was updated successfully, but these errors were encountered:
core-bundle.js
DrewML
No branches or pull requests
For the
Graph Preloading
functionality, it's necessary forbaler
to spit out a mapping of JavaScript dependencies needed per.phtml
file.Requirements
baler-preload-map.json
, and should be written to the root of a locale dir, as a sibling ofrequirejs-baler-config.js
Magento_Baler
to use for validation.phtml
fileExample
The text was updated successfully, but these errors were encountered: