Mojolicious::Plugin::AssetPack::Pipe::Fetch - Fetch related assets
Contents
Description
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.
Name
Mojolicious::Plugin::AssetPack::Pipe::Fetch - Fetch related assets
See Also
Mojolicious::Plugin::AssetPack.
perl v5.40.0 2024-12-07 Mojolicious::P...ck::Pipe::Fetch(3pm)
Synopsis
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"
);
