1Mojolicious::Plugin::AsUsseetrPaCcokn:t:rPiMibopujeto:el:diFcePiteocruhls(:3D:)oPcluumgeinnt:a:tAisosnetPack::Pipe::Fetch(3)
2
3
4
6 Mojolicious::Plugin::AssetPack::Pipe::Fetch - Fetch related assets
7
9 use Mojolicious::Lite;
10 plugin AssetPack => {pipes => [qw(Css Fetch)]};
11 app->asset->process(
12 "app.css" =>
13 "https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"
14 );
15
17 Mojolicious::Plugin::AssetPack::Pipe::Fetch will look for "url()" in a
18 CSS file and fetch the resource from the remote location.
19
20 Note that this pipe is EXPERIMENTAL and subject for change.
21
23 process
24 See "process" in Mojolicious::Plugin::AssetPack::Pipe.
25
27 Mojolicious::Plugin::AssetPack.
28
29
30
31perl v5.34.0 Mo2j0o2l2i-c0i1o-u2s1::Plugin::AssetPack::Pipe::Fetch(3)