# Dist-Zilla-Plugin-JavaScript-Minifier **Repository Path**: mirrors_gitpan/Dist-Zilla-Plugin-JavaScript-Minifier ## Basic Information - **Project Name**: Dist-Zilla-Plugin-JavaScript-Minifier - **Description**: Read-only release history for Dist-Zilla-Plugin-JavaScript-Minifier - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2025-08-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README NAME Dist::Zilla::Plugin::JavaScript::Minifier - Minify JavaScript in your dist. VERSION version 0.02 SYNOPSIS [JavaScript::Minifier] DESCRIPTION Compress JavaScript files in your distribution using JavaScript::Minifier::XS. By default for each foo.js file in your distribution this plugin will create a foo.min.js which has been compressed. ATTRIBUTES finder Specifies a FileFinder for the JavaScript files that you want compressed. If this is not specified, it will compress all the JavaScript files that do not have a .min. in their filenames. Roughly equivalent to this: [FileFinder::ByName / JavaScriptFiles] file = *.js skip = .min. [JavaScript::Minifier] finder = JavaScriptFiles output_regex Regular expression substitution used to generate the output filenames. By default this is [JavaScript::Minifier] output_regex = /\.js$/.min.js/ which generates a foo.min.js for each foo.js. output Output filename. Not used by default, but if specified, all JavaScript files are merged and compressed into a single file using this as the output filename. METHODS $plugin->gather_files( $arg ) This method adds the compressed JavaScript files to your distribution. AUTHOR Graham Ollis COPYRIGHT AND LICENSE This software is copyright (c) 2012 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.