{"id":16198710,"url":"https://github.com/ali322/chunk-transform-webpack-plugin","last_synced_at":"2026-05-02T06:39:28.989Z","repository":{"id":57143238,"uuid":"78350206","full_name":"ali322/chunk-transform-webpack-plugin","owner":"ali322","description":"transform webpack chunk or create new chunk by files","archived":false,"fork":false,"pushed_at":"2018-02-21T04:32:58.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T02:42:49.969Z","etag":null,"topics":["webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ali322.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-08T15:04:04.000Z","updated_at":"2017-02-16T03:28:57.000Z","dependencies_parsed_at":"2022-09-05T08:20:09.543Z","dependency_job_id":null,"html_url":"https://github.com/ali322/chunk-transform-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali322%2Fchunk-transform-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali322%2Fchunk-transform-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali322%2Fchunk-transform-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali322%2Fchunk-transform-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ali322","download_url":"https://codeload.github.com/ali322/chunk-transform-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247697706,"owners_count":20981232,"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":["webpack","webpack-plugin"],"created_at":"2024-10-10T09:14:41.050Z","updated_at":"2026-05-02T06:39:23.969Z","avatar_url":"https://github.com/ali322.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"chunk-transform-webpack-plugin [![Build Status](https://travis-ci.org/ali322/chunk-transform-webpack-plugin.svg?branch=master)](https://travis-ci.org/ali322/chunk-transform-webpack-plugin) [![npm version](https://badge.fury.io/js/chunk-transform-webpack-plugin.svg)](https://badge.fury.io/js/chunk-transform-webpack-plugin)\n===\n[![NPM](https://nodei.co/npm/chunk-transform-webpack-plugin.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/chunk-transform-webpack-plugin/)\n\nuseful webpack plugin that transform chunk on fly,change existed chunk's files or create new chunk that contain specified chunk's files\n\nInstall\n===\n\n```javascript\nnpm install chunk-transform-webpack-plugin --save--dev\n```\n\nUsage\n===\n\nadd plugin in your webpack.config.js\n\n```javascript\nvar ChunkTransformPlugin = require('chunk-transform-webpack-plugin')\nvar ExtractTextPlugin = require('extract-text-webpack-plugin')\n\nmodule.exports = {\n    entry:{\n        index:\"./index.js\",\n        vendor:\"./vendor.css\"\n    },\n    module:{\n        loaders:[\n            ...\n        ]\n    },\n    output:{\n        path:'./dist',\n        filename:'[name].min.js'\n    },\n    plugins:[\n        new ExtractTextPlugin('[name]-[hash].css'),\n        new ChunkTransformPlugin({\n            filename:'./vendor.css',\n            chunks:['vendor'],\n            test:/\\.css/\n        })\n    ]\n}\n```\n\nPlugin Options\n===\n\n- **filename**: dist chunk files template,accept string or function that take original filename as argument\n- **chunks**: array of chunks changed\n- **chunkName**: new chunk name that contain specified chunk's files\n- **test**: predicator of chunk's files,accept regxp expression or function that take original filename as argument or string that exactly match file\n\n## License\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali322%2Fchunk-transform-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fali322%2Fchunk-transform-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali322%2Fchunk-transform-webpack-plugin/lists"}