Mojolicious::Plugin::AssetPack::Pipe::Fetch(3pm)

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.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From libmojolicious-plugin-assetpack-perl 2.15-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.