Method | Description | |
---|---|---|
__construct ( string $web_dir, string $public_path, string $dump_path, string $common_js, string $common_css ) | ||
getFunctions ( ) | ||
getName ( ) | ||
getTokenParsers ( ) | ||
webpackAsset ( string $asset ) : array | Returns an array containing a 'js' and 'css' key that refer to the path of the compiled asset from a browser perspective. | |
webpackCommonCss ( ) : string |
Example: " |
|
webpackCommonJs ( ) : string |
Example: " |
|
webpackPublic ( string $url ) : string | Returns the mapped url for the given resource. |
public webpackAsset ( string $asset ) : array | ||
$asset | string | |
return | array |
public webpackCommonCss ( ) : string | ||
return | string |
public webpackPublic ( string $url ) : string | ||
$url | string | |
return | string |