Mojolicious::Plugin::AssetPack::Pipe::Fetch3pm
Fetch related assets
Usage
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");
Overview
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.
Methods
process
See "process" in Mojolicious::Plugin::AssetPack::Pipe.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.