{"id":21569275,"url":"https://github.com/ecliptic/webpack-blocks-html","last_synced_at":"2025-03-18T05:44:47.829Z","repository":{"id":48252487,"uuid":"81850831","full_name":"ecliptic/webpack-blocks-html","owner":"ecliptic","description":"DEPRECATED: Merged into webpack-blocks-utils","archived":false,"fork":false,"pushed_at":"2022-12-06T15:32:14.000Z","size":145,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T13:51:42.552Z","etag":null,"topics":["html-webpack-plugin","webpack","webpack-blocks"],"latest_commit_sha":null,"homepage":"https://github.com/ecliptic/webpack-blocks-utils","language":"JavaScript","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/ecliptic.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":"2017-02-13T17:17:51.000Z","updated_at":"2017-06-01T18:54:45.000Z","dependencies_parsed_at":"2022-09-01T17:10:35.519Z","dependency_job_id":null,"html_url":"https://github.com/ecliptic/webpack-blocks-html","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptic%2Fwebpack-blocks-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptic%2Fwebpack-blocks-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptic%2Fwebpack-blocks-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptic%2Fwebpack-blocks-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecliptic","download_url":"https://codeload.github.com/ecliptic/webpack-blocks-html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166641,"owners_count":20409178,"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","webpack","webpack-blocks"],"created_at":"2024-11-24T11:09:03.065Z","updated_at":"2025-03-18T05:44:47.809Z","avatar_url":"https://github.com/ecliptic.png","language":"JavaScript","readme":"# webpack-blocks-html\n\nA [webpack-block](https://github.com/andywer/webpack-blocks) for [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin).\n\n[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n[![NPM Version](https://img.shields.io/npm/v/webpack-blocks-html.svg)](https://www.npmjs.com/package/webpack-blocks-html)\n\n*Version compatibility:*\n\n* webpack-blocks v0._x_ -\u003e webpack-blocks-html [v1._x_](https://github.com/ecliptic/webpack-blocks-copy/tree/master) (@latest)\n* webpack-blocks v1._x_ -\u003e DEPRECATED: Merged into [webpack-blocks-utils](https://github.com/ecliptic/webpack-blocks-utils)\n\n## Installation\n\n```sh\nyarn add --dev webpack-blocks-html\n```\n\nor\n\n```sh\nnpm install --save-dev webpack-blocks-html\n```\n\n## Usage\n\n```js\nimport {createConfig, entryPoint, setOutput} from '@webpack-blocks/webpack2'\nimport babel from '@webpack-blocks/babel6'\nimport html from './src/webpack-block-html'\n\nexport default createConfig([\n  entryPoint(['babel-polyfill', './src/Main.js']),\n  setOutput('./build/bundle.js'),\n  babel(),\n  html({template: 'assets/index.html'}),\n])\n```\n\n## Options\n\nSee the options list [here](https://github.com/jantimon/html-webpack-plugin#configuration).\n\nDefaults:\n\n* *filename:* 'index.html'\n* *template:* 'templates/index.html'\n* *showErrors:* false\n\n## License\n\nThis project is licensed under [MIT](https://github.com/ecliptic/webpack-blocks-html/blob/master/LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecliptic%2Fwebpack-blocks-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecliptic%2Fwebpack-blocks-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecliptic%2Fwebpack-blocks-html/lists"}