README
1NAME
2 Plack::Middleware::JSConcat - Concatenate javascripts
3
4SYNOPSIS
5 # in app.psgi
6 use Plack::Builder;
7
8 builder {
9 enable "JSConcat",
10 files => [<static/js/*.js>],
11 filter => '/usr/local/bin/jsmin';
12 $app;
13 };
14
15 # use $env{'psgix.jsconcat.url'} to include javascript.
16
17DESCRIPTION
18 Plack::Middleware::JSConcat allows you to concatenate multiple
19 javascripts files into one. It provides a content-hashed key as the url
20 for including all the javascript files you specified. You can also
21 provide a filter program to minimize the concatenated file.
22
23CONFIGURATIONS
24 files
25 filter
26
27AUTHOR
28 Chia-liang Kao <clkao@clkao.org>
29
30SEE ALSO
31 Plack
32
33LICENSE
34 This library is free software; you can redistribute it and/or modify it
35 under the same terms as Perl itself.
36
37