{"id":22367378,"url":"https://github.com/shian15810/entry-chunk-loader","last_synced_at":"2026-02-27T17:48:21.585Z","repository":{"id":37797701,"uuid":"308668925","full_name":"shian15810/entry-chunk-loader","owner":"shian15810","description":"Webpack loader to generate a new entry chunk.","archived":false,"fork":false,"pushed_at":"2023-01-16T16:15:32.000Z","size":1295,"stargazers_count":3,"open_issues_count":13,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-17T00:39:49.496Z","etag":null,"topics":["chunk","entry","loader","webpack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/entry-chunk-loader","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/shian15810.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":"2020-10-30T15:22:26.000Z","updated_at":"2023-10-11T14:40:44.000Z","dependencies_parsed_at":"2023-02-10T04:45:24.722Z","dependency_job_id":null,"html_url":"https://github.com/shian15810/entry-chunk-loader","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shian15810%2Fentry-chunk-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shian15810%2Fentry-chunk-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shian15810%2Fentry-chunk-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shian15810%2Fentry-chunk-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shian15810","download_url":"https://codeload.github.com/shian15810/entry-chunk-loader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228164487,"owners_count":17879085,"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":["chunk","entry","loader","webpack"],"created_at":"2024-12-04T18:17:23.970Z","updated_at":"2026-02-27T17:48:16.532Z","avatar_url":"https://github.com/shian15810.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# entry-chunk-loader\n\nWebpack loader to generate a new entry chunk.\n\nA fork of [`spawn-loader`](https://github.com/erikdesjardins/spawn-loader), with a few notable changes:\n\n- Supports [Webpack 5](https://webpack.js.org/blog/2020-10-10-webpack-5-release/).\n- Supports native [ECMAScript modules](https://nodejs.org/api/esm.html) of Node.js.\n\n## Installation\n\n`npm install --save-dev entry-chunk-loader`\n\n## Usage\n\n### ECMAScript modules\n\n```js\n// simplest usage: emits otherBundle.js in the same directory\nimport url from 'entry-chunk-loader!./otherBundle');\n// url === 'otherBundle.js'\n\n// build into a subdir: emits otherBundle.js\n// (and any assets it emits) into childDir/\nimport url from 'entry-chunk-loader?path=childDir!./otherBundle';\n// url === 'childDir/otherBundle.js'\n\n// specify a different name\nimport url from 'entry-chunk-loader?name=bundle.js!./file';\n// url === 'bundle.js'\n\n// emit the required file as-is, with no prelude\n// only useful in combination with other loaders\nimport url from 'entry-chunk-loader?inert!./manifest.json';\n// url === 'manifest.json'\n```\n\n### CommonJS modules\n\n```js\n// simplest usage: emits otherBundle.js in the same directory\nconst url = require('entry-chunk-loader!./otherBundle');\n// url === 'otherBundle.js'\n\n// build into a subdir: emits otherBundle.js\n// (and any assets it emits) into childDir/\nconst url = require('entry-chunk-loader?path=childDir!./otherBundle');\n// url === 'childDir/otherBundle.js'\n\n// specify a different name\nconst url = require('entry-chunk-loader?name=bundle.js!./file');\n// url === 'bundle.js'\n\n// emit the required file as-is, with no prelude\n// only useful in combination with other loaders\nconst url = require('entry-chunk-loader?inert!./manifest.json');\n// url === 'manifest.json'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshian15810%2Fentry-chunk-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshian15810%2Fentry-chunk-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshian15810%2Fentry-chunk-loader/lists"}