NAME
Web::AssetLib::OutputEngine::LocalFile - allows exporting an asset or bundle to your local filesystem
SYNOPSIS
my
$library
= My::AssetLib::Library->new(
output_engines
=> [
Web::AssetLib::OutputEngine::LocalFile->new(
output_path
=>
'/my/local/output/path'
,
link_path
=>
'/output/path/relative/to/webserver'
)
]
);
USAGE
Instantiate with output_path
and link_path
parameters, and include in your library's output engine list.
ATTRIBUTES
output_path
String; the absolute path that the compiled assets should be exported to
link_path
String; the path relative to your webserver root, which points to the "output_path". Used in generating HTML tags.
SEE ALSO
AUTHOR
Ryan Lang <rlang@cpan.org>