{"id":17726914,"url":"https://github.com/piterden/js-create-includes-webpack-plugin","last_synced_at":"2026-01-28T17:06:32.385Z","repository":{"id":33128872,"uuid":"149836541","full_name":"Piterden/js-create-includes-webpack-plugin","owner":"Piterden","description":"Making WebPack includes creating with JS createElement","archived":false,"fork":false,"pushed_at":"2023-03-02T08:17:50.000Z","size":1534,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T20:23:32.636Z","etag":null,"topics":["cordova","createelement","html-webpack-plugin","regex","webpack"],"latest_commit_sha":null,"homepage":null,"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/Piterden.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-22T01:55:22.000Z","updated_at":"2024-04-23T20:23:32.637Z","dependencies_parsed_at":"2024-10-25T21:20:09.333Z","dependency_job_id":"80fd40de-ad18-4b1f-a4d0-96a49f185aab","html_url":"https://github.com/Piterden/js-create-includes-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piterden%2Fjs-create-includes-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piterden%2Fjs-create-includes-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piterden%2Fjs-create-includes-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Piterden%2Fjs-create-includes-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Piterden","download_url":"https://codeload.github.com/Piterden/js-create-includes-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247625584,"owners_count":20969129,"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":["cordova","createelement","html-webpack-plugin","regex","webpack"],"created_at":"2024-10-25T17:07:25.535Z","updated_at":"2026-01-28T17:06:32.316Z","avatar_url":"https://github.com/Piterden.png","language":"JavaScript","readme":"# [JSCreateIncludesWebpackPlugin](https://github.com/Piterden/js-create-includes-webpack-plugin)\n\n![Travis (.org)](https://img.shields.io/travis/com/Piterden/js-create-includes-webpack-plugin.svg?style=for-the-badge)\n![GitHub search hit counter](https://img.shields.io/github/search/Piterden/js-create-includes-webpack-plugin/webpack.svg?style=for-the-badge)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Piterden/js-create-includes-webpack-plugin.svg?style=for-the-badge)\n\nThe simple plug-in which allows you to run cordova/webpack app.\n\n## Overview\n\nThe WebPack plugin for convert HTML script assignment like:\n\n```html\n\u003cscript src=\"/bundle.js\"\u003e\u003c/script\u003e\n```\n\n to JS creation of a DOM-element:\n\n```html\n\u003cscript\u003e\n  const bundleScript = document.createElement('script');\n  bundleScript.type = 'text/javascript';\n  bundleScript.async = true;\n  bundleScript.src = 'bundle.js';\n  document.body.appendChild(bundleScript);\n\u003c/script\u003e\n```\n\n## Installation\n\n\u003e ##### Requirements:\n\u003e\n\u003e - webpack\n\u003e - html-webpack-plugin\n\n```sh\n$ npm i js-create-includes-webpack-plugin -D\n```\n\n## Usage\n\nAdd to you WebPack config file the next:\n\n```js\nconst JSCreateIncludesWebpackPlugin = require('js-create-includes-webpack-plugin')\n\n// ...\n\nmodule.exports = {\n  plugins: [\n    // Place it after HtmlWebpackPlugin\n    new JSCreateIncludesWebpackPlugin(),\n  ],\n}\n```\n\n## Credits\n\nAuthor: Denis Efremov [@piterden](https://github.com/piterden)\n\n## Donate\n\n- **BTC** `3F275vPSCvYW19MHZqSjw79fEwwU4MbTgV`\n- **LTC** `MGMCQB3QAcrSBjU3eGJviqB2J2f5BNVRGr`\n- **DOGE** `D5m69FRDGEn3G3xuakvqTxUpGVt6NegKJp`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiterden%2Fjs-create-includes-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiterden%2Fjs-create-includes-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiterden%2Fjs-create-includes-webpack-plugin/lists"}