{"id":13493759,"url":"https://github.com/tnfe/wp2vite","last_synced_at":"2025-05-16T15:06:15.298Z","repository":{"id":37753564,"uuid":"352568499","full_name":"tnfe/wp2vite","owner":"tnfe","description":"一个让webpack项目支持vite的前端项目的转换工具。A front-end project automatic conversion tool。","archived":false,"fork":false,"pushed_at":"2021-12-17T14:22:33.000Z","size":624,"stargazers_count":713,"open_issues_count":16,"forks_count":49,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-03T15:08:18.541Z","etag":null,"topics":["vite","vitejs","webpack","webpack-to-vite","webpack-vite","webpack5"],"latest_commit_sha":null,"homepage":"https://tnfe.github.io/wp2vite/","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/tnfe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-03-29T08:24:09.000Z","updated_at":"2025-03-28T02:12:44.000Z","dependencies_parsed_at":"2022-07-12T16:44:52.101Z","dependency_job_id":null,"html_url":"https://github.com/tnfe/wp2vite","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnfe%2Fwp2vite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnfe%2Fwp2vite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnfe%2Fwp2vite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tnfe%2Fwp2vite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tnfe","download_url":"https://codeload.github.com/tnfe/wp2vite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564980,"owners_count":21125412,"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":["vite","vitejs","webpack","webpack-to-vite","webpack-vite","webpack5"],"created_at":"2024-07-31T19:01:18.552Z","updated_at":"2025-04-12T11:50:51.138Z","avatar_url":"https://github.com/tnfe.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"English | [简体中文](./README.zh-CN.md)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wp2vite\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n    \u003cimg width=\"180\" src=\"https://github.com/tnfe/wp2vite/blob/master/logo.png?raw=true\" alt=\"wp2vite logo\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.com/package/vite\"\u003e\u003cimg src=\"https://img.shields.io/badge/vite-v2.1.0-brightgreen\" alt=\"npm vite\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/webpack\"\u003e\u003cimg src=\"https://img.shields.io/badge/npm-v2.1.4-brightgreen\" alt=\"npm webpack\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wp2vite\"\u003e\u003cimg src=\"https://img.shields.io/badge/webpack-\u003e=4-brightgreen\" alt=\"npm package\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://nodejs.org/en/about/releases/\"\u003e\u003cimg src=\"https://img.shields.io/badge/node-\u003e=10-brightgreen\" alt=\"node compatility\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n# wp2vite\nIt has been officially included，[detail](https://github.com/vitejs/awesome-vite#vue-cli)\n\n## Overview\n\nA front-end project automatic conversion tool, You can make your [webpack](https://webpack.js.org/) project support [vite](https://vitejs.dev/).\n\nwp2vite will not delete your webpack configuration, but will inject vite configuration into your project to support vite.\n\nThe development speed is about 80% faster than that of webpack, and the construction speed is about 50% faster than that of webpack.\n\n## Examples\n- [vite-concent-pro](https://github.com/tnfe/vite-concent-pro)\n\n## Detailed\n\n### react\n- react projects created by [create-react-app](https://github.com/facebook/create-react-app) are supported, whether or not eject is performed.\n- react projects created by [react-app-rewired](https://github.com/timarney/react-app-rewired) are supported.\n- react projects created by [webpack.config.js](https://github.com/webpack/webpack) are supported.\n\n### vue\n- vue projects created by [vue-cli](https://github.com/vuejs/vue-cli) are supported, whether or not contains `vue.config.js` file.\n\n### other\n- other projects crated by [webpack.config.js](https://github.com/webpack/webpack) are supported.\n\n## install\n```\nnpm install -g wp2vite\n```\n## use\n```\ncd yourwork/your_project // go to your project catalog\nwp2vite \nor\nwp2vite --config=./webpack.config.js // with config file\n\nwp2vite -v // check wp2vite version\n\nnpm install // install dependencies\n\nnpm run dev // start server\nor\nnpm run vite-start // start server\n```\n\n## Contribute\n\nIf you spotted a bug, please submit a pull request with a bug fix.\n\nIf you would like to add a feature or change existing behaviour, open an [issue](https://github.com/tnfe/wp2vite/issues) and tell about what exactly you want to change/add.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnfe%2Fwp2vite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnfe%2Fwp2vite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnfe%2Fwp2vite/lists"}