{"id":28220117,"url":"https://github.com/morulus/webpack-import-sub-plugin","last_synced_at":"2026-05-19T19:08:27.827Z","repository":{"id":66348146,"uuid":"84348245","full_name":"morulus/webpack-import-sub-plugin","owner":"morulus","description":"Use import substitution with webpack","archived":false,"fork":false,"pushed_at":"2018-09-18T18:57:30.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T04:14:35.675Z","etag":null,"topics":[],"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/morulus.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":"2017-03-08T17:32:32.000Z","updated_at":"2024-02-01T12:55:09.000Z","dependencies_parsed_at":"2023-02-25T07:30:43.530Z","dependency_job_id":null,"html_url":"https://github.com/morulus/webpack-import-sub-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morulus%2Fwebpack-import-sub-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morulus%2Fwebpack-import-sub-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morulus%2Fwebpack-import-sub-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morulus%2Fwebpack-import-sub-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morulus","download_url":"https://codeload.github.com/morulus/webpack-import-sub-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morulus%2Fwebpack-import-sub-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259273842,"owners_count":22832412,"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":[],"created_at":"2025-05-18T04:14:31.915Z","updated_at":"2026-05-19T19:08:27.763Z","avatar_url":"https://github.com/morulus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"webpack-import-sub-plugin\n--\n\nUse [Import sub](https://github.com/morulus/import-sub) with [https://webpack.js.org/](Webpack).\n\nUsage\n----\n\n```shell\nnpm i webpack-import-sub-plugin --D\n```\n\nIn the configuration file:\n\n```js\nconst WebpackImportSubPlugin = 'webpack-import-sub-plugin';\n\nconst config = {\n  ...,\n  plugins: [\n    new WebpackImportSubPlugin([\n      {\n        match: {\n          request: /some\\.js/,\n          base: /app/,\n        },\n        use: {\n          request: \"./to.js\"\n        }\n      }\n    ])\n  ]\n}\n```\n\nAuthor\n----\n\nVladimir Kalmykov \u003cvladimirmorulus@gmail.com\u003e\n\nLicense\n----\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorulus%2Fwebpack-import-sub-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorulus%2Fwebpack-import-sub-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorulus%2Fwebpack-import-sub-plugin/lists"}