Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
addFile ($filePath, $sourcePath, $contentType) | |
flush () | |
clear () | |
Data Fields | |
const | BUNDLE_JS_DIR = 'js/bundle' |
Bundle Interface
Definition at line 11 of file BundleInterface.php.
addFile | ( | $filePath, | |
$sourcePath, | |||
$contentType | |||
) |
Add file that can be bundled
string | $filePath | |
string | $sourcePath | |
string | $contentType |
Implemented in RequireJs.
clear | ( | ) |
flush | ( | ) |
const BUNDLE_JS_DIR = 'js/bundle' |
Path relative to package directory where bundle files should be created
Definition at line 16 of file BundleInterface.php.