{"id":25412856,"url":"https://github.com/parambirs/ant-yui-compressor","last_synced_at":"2025-10-31T07:30:59.617Z","repository":{"id":74830113,"uuid":"13318297","full_name":"parambirs/ant-yui-compressor","owner":"parambirs","description":"Ant task for compressing JavaScript and CSS files using YUI compressor","archived":false,"fork":false,"pushed_at":"2024-01-03T19:15:35.000Z","size":163,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-01-03T20:27:22.699Z","etag":null,"topics":["ant","yui","yui-compressor"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parambirs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-04T06:57:37.000Z","updated_at":"2024-01-03T19:07:53.000Z","dependencies_parsed_at":"2023-02-22T16:31:00.863Z","dependency_job_id":null,"html_url":"https://github.com/parambirs/ant-yui-compressor","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parambirs%2Fant-yui-compressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parambirs%2Fant-yui-compressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parambirs%2Fant-yui-compressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parambirs%2Fant-yui-compressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parambirs","download_url":"https://codeload.github.com/parambirs/ant-yui-compressor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239134089,"owners_count":19587407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ant","yui","yui-compressor"],"created_at":"2025-02-16T13:35:55.548Z","updated_at":"2025-10-31T07:30:54.273Z","avatar_url":"https://github.com/parambirs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"About ant-yui-compressor\n==================\n\nant-yui-compressor is an [Apache Ant](http://ant.apache.org/) task for compressing multiple JavaScript and CSS files using [YUI compressor](https://github.com/yui/yuicompressor).\n\n### Features\n* JS files minification \n* CSS files minification\n* Option to automatically delete original source files after generating minified files\n\n##### Origins\n\nThis project is based on [yui-compressor-ant-task](https://github.com/sbuckle/yui-compressor-ant-task/) by Simon Buckle \nwhich only supports JS minification. \n\n### Basic Usage\n```xml\n\u003cant-yui-compressor todir=\"js\"\u003e\n\t\u003cfileset dir=\"js\"\u003e\n\t\t\u003cinclude name=\"backbone.js\" /\u003e\n\t\t\u003cinclude name=\"jquery.js\" /\u003e\n\t\u003c/fileset\u003e\n\t\u003cmapper type=\"glob\" from=\"*.js\" to=\"*-min.js\"/\u003e\n\u003c/ant-yui-compressor\u003e\n```\n**Note: The `toDir` attribute, as well as `fileset` \u0026 `mapper` elements are required**. \nThe `fileset` element specifies the list of files to be minified. The `mapper` elements describes the naming convention for minified files.\nBoth [fileset](http://ant.apache.org/manual/Types/fileset.html) and [mapper](http://ant.apache.org/manual/Types/mapper.html) are standard Ant types and have various configuration options.\n\n### Example\n\nA working ant sample project is available with the source code (https://github.com/parambirs/ant-yui-compressor/tree/master/example).\n\n### Options\n\n**JavaScript**\n\nThe ant task supports the following attributes for JS files:\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003cth\u003eAttribute\u003c/th\u003e\n        \u003cth\u003eRequired?\u003c/th\u003e\n        \u003cth\u003eDefault\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \t\u003ctd\u003etoDir\u003c/td\u003e\n    \t\u003ctd\u003eYes\u003c/td\u003e\n    \t\u003ctd\u003eN/A\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003edeleteOriginal\u003c/td\u003e\n        \u003ctd\u003eNo\u003c/td\u003e\n        \u003ctd\u003efalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003elinebreak\u003c/td\u003e\n        \u003ctd\u003eNo\u003c/td\u003e\n        \u003ctd\u003e-1\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \t\u003ctd\u003emunge\u003c/td\u003e\n    \t\u003ctd\u003eNo\u003c/td\u003e\n    \t\u003ctd\u003etrue\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \t\u003ctd\u003epreserveAllSemiColons\u003c/td\u003e\n    \t\u003ctd\u003eNo\u003c/td\u003e\n    \t\u003ctd\u003efalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \t\u003ctd\u003edisableOptimizations\u003c/td\u003e\n    \t\u003ctd\u003eNo\u003c/td\u003e\n    \t\u003ctd\u003efalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \t\u003ctd\u003everbose\u003c/td\u003e\n    \t\u003ctd\u003eNo\u003c/td\u003e\n    \t\u003ctd\u003efalse\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\n**CSS**\n\nThe following options are available for CSS files:\n\u003ctable\u003e\n    \u003ctr\u003e\n        \u003cth\u003eAttribute\u003c/th\u003e\n        \u003cth\u003eRequired?\u003c/th\u003e\n        \u003cth\u003eDefault\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n    \t\u003ctd\u003etoDir\u003c/td\u003e\n    \t\u003ctd\u003eYes\u003c/td\u003e\n    \t\u003ctd\u003eN/A\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003edeleteOriginal\u003c/td\u003e\n        \u003ctd\u003eNo\u003c/td\u003e\n        \u003ctd\u003efalse\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd\u003elinebreak\u003c/td\u003e\n        \u003ctd\u003eNo\u003c/td\u003e\n        \u003ctd\u003e-1\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparambirs%2Fant-yui-compressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparambirs%2Fant-yui-compressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparambirs%2Fant-yui-compressor/lists"}