{"id":21489543,"url":"https://github.com/yzydeveloper/rspack-plugin-mpa","last_synced_at":"2025-03-17T10:45:20.167Z","repository":{"id":165223831,"uuid":"640578148","full_name":"yzydeveloper/rspack-plugin-mpa","owner":"yzydeveloper","description":"Mpa plugin for rspack","archived":false,"fork":false,"pushed_at":"2023-05-14T15:17:48.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T20:22:43.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/yzydeveloper.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":"2023-05-14T14:57:56.000Z","updated_at":"2023-11-25T07:28:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"85c71af7-500b-4c01-9f4c-5719b47b71bd","html_url":"https://github.com/yzydeveloper/rspack-plugin-mpa","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Frspack-plugin-mpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Frspack-plugin-mpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Frspack-plugin-mpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yzydeveloper%2Frspack-plugin-mpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yzydeveloper","download_url":"https://codeload.github.com/yzydeveloper/rspack-plugin-mpa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244020895,"owners_count":20385035,"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":"2024-11-23T14:21:29.535Z","updated_at":"2025-03-17T10:45:20.158Z","avatar_url":"https://github.com/yzydeveloper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rspack-plugin-mpa\n\n## Install\n\n```bash\npnpm install rspack-plugin-mpa\n```\n\n## Usage\n\n[Example](./example/rspack.config.js)\n\n```javascript\nconst { default: MpaPlugin } = require('rspack-plugin-mpa')\n\nmodule.exports = {\n  // ...\n  plugins: [\n        new MpaPlugin({\n            pages: {\n                app1: {\n                    entry: './src/app/app1/main',\n                    title: 'Rspack Plugin Mpa',\n                    minify:true\n                },\n                app2: {\n                    entry: './src/app/app2/main',\n                    title: 'Rspack Plugin Mpa',\n                    minify:true\n                }\n            }\n        })\n    ]\n}\n```\n\n## Config\n\nFor more configurations, please refer to [@rspack/plugin-html](https://github.com/web-infra-dev/rspack/blob/main/packages/rspack-plugin-html/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzydeveloper%2Frspack-plugin-mpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyzydeveloper%2Frspack-plugin-mpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyzydeveloper%2Frspack-plugin-mpa/lists"}