{"repo":"yoriiis/chunks-webpack-plugin","free":true,"listed":false,"github":"https://github.com/yoriiis/chunks-webpack-plugin","clone":"git clone https://github.com/yoriiis/chunks-webpack-plugin.git","description":"Create HTML files with entrypoints and chunks relations to serve your bundles","language":"JavaScript","stars":28,"topics":["webpack","chunks-webpack-plugin","javascript","splitchunksplugin","optimization","chunks","typescript","html-files","entrypoints","webpack-bundles"],"license":"MIT","category":"workflow-automation","readme_excerpt":"ChunksWebpackPlugin The chunks-webpack-plugin creates HTML files with entry points and chunks relations to serve your webpack bundles. It is suitable with multi-page applications that contain multiple entry points. Since webpack 4, SplitChunksPlugin offers the possibility to optimizes all chunks. It can be particularly powerful, because it means that chunks can be shared even between async and non-async chunks. See the webpack documentation of splitChunks.chunks for details. splitChunks.chunks option can be set to automatically generate new chunks associated with an entry point. For example, entry points a.js and b.js share common code with the file vendors a b.js . With multiple entry points, it can be difficult to identify relation between the auto-generated chunks and entry points. chunks-webpack-plugin parses the webpack compilation entry points to get all files associated with the entry points. Then, it generates HTML files which include all assets filtered by an entry point and the chunks-manifest.json file. Zero configuration It works without configuration. For advanced usage, see the using configuration section. Installation chunks-webpack-plugin is available on npm as chunks-webpack-plugin and as chunks-webpack-plugin on GitHub. [!WARNING] Plugin chunks-webpack-plugin@10 is ESM only. [!NOTE] Minimum supported Node.js version is 16.20.0 and Webpack =5.10.3 . Example The project includes a minimalist example in the ./example directory. Run the npm run build:example com","default_branch":null,"files":null,"tree":[],"storefront":"/r/yoriiis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yoriiis/chunks-webpack-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}