{"id":20163507,"url":"https://github.com/sjinks/hwp-inline-runtime-chunk-plugin","last_synced_at":"2025-04-10T00:41:18.612Z","repository":{"id":36969269,"uuid":"293210977","full_name":"sjinks/hwp-inline-runtime-chunk-plugin","owner":"sjinks","description":"Plugin to inline WebPack runtime chunks when using html-webpack-plugin","archived":false,"fork":false,"pushed_at":"2025-03-03T06:22:36.000Z","size":3031,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-05T05:02:22.293Z","etag":null,"topics":["html-webpack-plugin","html-webpack-plugin-plugin","inline","runtime-chunk","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjinks.png","metadata":{"funding":{"custom":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"]},"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-06T05:36:03.000Z","updated_at":"2025-03-03T06:22:38.000Z","dependencies_parsed_at":"2023-09-23T09:19:01.697Z","dependency_job_id":"a8ba419d-ac43-49e5-9ea0-d93375791216","html_url":"https://github.com/sjinks/hwp-inline-runtime-chunk-plugin","commit_stats":{"total_commits":431,"total_committers":6,"mean_commits":71.83333333333333,"dds":0.5730858468677494,"last_synced_commit":"9fc1365fe2ce99e6422a39da9f72c9a37bb50597"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fhwp-inline-runtime-chunk-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fhwp-inline-runtime-chunk-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fhwp-inline-runtime-chunk-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjinks%2Fhwp-inline-runtime-chunk-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjinks","download_url":"https://codeload.github.com/sjinks/hwp-inline-runtime-chunk-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137998,"owners_count":21053775,"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":["html-webpack-plugin","html-webpack-plugin-plugin","inline","runtime-chunk","webpack-plugin"],"created_at":"2024-11-14T00:29:54.179Z","updated_at":"2025-04-10T00:41:18.586Z","avatar_url":"https://github.com/sjinks.png","language":"TypeScript","readme":"# hwp-inline-runtime-chunk-plugin\n\n[![Build and Test](https://github.com/sjinks/hwp-inline-runtime-chunk-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/sjinks/hwp-inline-runtime-chunk-plugin/actions/workflows/build.yml)\n\nThis plugin automatically inlines Webpack's runtime chunks. It requires [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin)\n\nThis plugin was inspired by [html-webpack-inline-runtime-plugin](https://github.com/chippers/html-webpack-inline-runtime-plugin) and does pretty much the same but differently.\n\nThere are a few differences, though:\n  * hwp-inline-runtime-chunk-plugin does *not* calculate integrity hashes (and therefore does not inject the CSP meta tag): the plugin must do one thing and do it well.\n  * hwp-inline-runtime-chunk-plugin has an option (off by default) to strip the source map from the inlined runtime chunk.\n  * hwp-inline-runtime-chunk-plugin tries to handle all corner cases and has an extensive test suite.\n\n## Installation\n\n```bash\nnpm install --save-dev hwp-inline-runtime-chunk-plugin\n```\n\n## Usage\n\n```javascript\nconst HtmlWebpackPlugin = require('html-webpack-plugin');\nconst { HwpInlineRuntimeChunkPlugin } = require('hwp-inline-runtime-chunk-plugin');\n\nmodule.exports = {\n  optimization: {\n    runtimeChunk: 'single'\n  },\n  plugins: [\n    new HtmlWebpackPlugin(),\n    new HwpInlineRuntimeChunkPlugin({ removeSourceMap: true })\n  ]\n};\n```\n\nThe plugin currently has only one configuration option:\n  * `removeSourceMap` (Boolean, the default is `false`): whether to remove the link to the source map from the inlined source\n\n \n","funding_links":["https://www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU","https://send.monobank.ua/jar/7rosVfiwKM"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fhwp-inline-runtime-chunk-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjinks%2Fhwp-inline-runtime-chunk-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjinks%2Fhwp-inline-runtime-chunk-plugin/lists"}