Mojolicious::Plugin::AssetPack::Pipe::Fetch - Fetch related assets
use Mojolicious::Lite; plugin AssetPack => {pipes => [qw(Css Fetch)]}; app->asset->process( "app.css" => "https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" );
Mojolicious::Plugin::AssetPack::Pipe::Fetch will look for "url()" in a CSS file and fetch the resource from the remote location.
Note that this pipe is EXPERIMENTAL and subject for change.
See "process" in Mojolicious::Plugin::AssetPack::Pipe.
Mojolicious::Plugin::AssetPack.
To install Mojolicious::Plugin::AssetPack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AssetPack
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AssetPack
For more information on module installation, please visit the detailed CPAN module installation guide.