{"id":13423861,"url":"https://github.com/egoist/poi","last_synced_at":"2025-09-30T15:31:29.781Z","repository":{"id":45753385,"uuid":"56788834","full_name":"egoist/poi","owner":"egoist","description":"⚡A zero-config bundler for JavaScript applications.","archived":true,"fork":false,"pushed_at":"2021-12-06T12:22:48.000Z","size":12315,"stargazers_count":5233,"open_issues_count":54,"forks_count":256,"subscribers_count":82,"default_branch":"master","last_synced_at":"2024-05-02T01:15:47.840Z","etag":null,"topics":["babel","build-tool","bundle","postcss","preact","react","svelte","typescript","vue","vuejs","webpack"],"latest_commit_sha":null,"homepage":"https://poi.js.org","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/egoist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"egoist","open_collective":null,"ko_fi":"support_egoist","tidelift":null,"custom":null}},"created_at":"2016-04-21T16:21:09.000Z","updated_at":"2024-04-27T16:14:01.000Z","dependencies_parsed_at":"2022-07-30T13:08:04.342Z","dependency_job_id":null,"html_url":"https://github.com/egoist/poi","commit_stats":null,"previous_names":["egoist/vbuild"],"tags_count":946,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fpoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fpoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fpoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fpoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egoist","download_url":"https://codeload.github.com/egoist/poi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234661057,"owners_count":18867812,"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":["babel","build-tool","bundle","postcss","preact","react","svelte","typescript","vue","vuejs","webpack"],"created_at":"2024-07-31T00:00:43.954Z","updated_at":"2025-09-30T15:31:24.391Z","avatar_url":"https://github.com/egoist.png","language":"JavaScript","funding_links":["https://github.com/sponsors/egoist","https://ko-fi.com/support_egoist","https://patreon.com/egoist)."],"categories":["Awesome Vue.js [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)","JavaScript","Projects","Utilities [🔝](#readme)","zero config bundlers","公用事业","Components \u0026 Libraries","Utilities","📦 Legacy \u0026 Inactive Projects"],"sub_categories":["Development Tools","资产管理","Utilities","Asset Management"],"readme":"# ⚠️ Poi has been deprecated, please migrate to [Vite](https://vitejs.dev), contact me personally if you need help.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.loli.net/2018/09/12/5b98e77352c9d.png\" width=\"200\"\u003e\n  \u003c/p\u003e\n\u003cbr\u003e\n\n[![npm version](https://badgen.net/npm/v/poi)](https://npm.im/poi) [![build status](https://badgen.net/circleci/github/egoist/poi/master)](https://circleci.com/gh/egoist/poi/tree/master) [![npm downloads](https://badgen.net/npm/dm/poi)](https://npm.im/poi) [![poi twitter](https://badgen.net/badge//@poi__js/1da1f2?icon=twitter)](https://twitter.com/poi__js)\n\nPoi is a bundler built on the top of webpack, trying to make developing and bundling apps with webpack as easy as possible.\n\n**The Poi project is supported by our [Backers](./BACKERS.md) and funded through [Patreon](https://patreon.com/egoist).**\n\n## Features\n\n- 📦 Out of box support for JS, CSS, File assets and more.\n- ⚛ Framework-agnostic but also support JSX, Vue and more with no configs.\n- 🔌 Great extensibility.\n- 🐙 Fits most web apps, npm libs.\n- 🚨 Great development experience.\n\n## Quick Overview\n\nBefore we get started, ensure that you have installed Node.js (\u003e=8) and Yarn (or npm) on your machine.\n\n### Get Started Immediately\n\n```bash\nyarn global add create-poi-app\ncreate-poi-app my-app\n\ncd my-app\nnpm run dev\n```\n\nThen open http://localhost:4000 to see your app.\u003cbr\u003e\nWhen you’re ready to deploy to production, create a minified bundle with `npm run build`.\n\n### Get Started Manually\n\nInside an empty project, run `yarn init` or `npm init` to create a `package.json` and install Poi:\n\n```bash\nyarn init\nyarn add poi --dev\n```\n\nNow all you need is to create an entry file, like if you're building a website, just create an `index.js`:\n\n```js\nconst el = document.createElement('div')\nel.textContent = 'Hello Poi!'\n\ndocument.body.appendChild(el)\n```\n\nNow if you run:\n\n```bash\nyarn poi --serve\n```\n\nYou will get a URL like `http://localhost:4000` which you can open to preview the app.\n\nNext let's start adding some dependencies like a CSS file `style.module.css`:\n\n```css\n.title {\n  color: pink;\n}\n```\n\n```js\nimport styles from './style.module.css'\n\nconst el = document.createElement('div')\nel.className = styles.title\nel.textContent = 'Hello Poi!'\n\ndocument.body.appendChild(el)\n```\n\nSave it and the browser will automatically reload to apply the changes!\n\n## Documentation\n\n📚 https://poi.js.org\n\nYou can improve it by sending pull requests to [this repository](https://github.com/poi-bundler/website).\n\nCheck out [this repository](https://github.com/poi-bundler/examples) for more examples.\n\n## Community\n\nAll feedback and suggestions are welcome!\n\n- 💬 Join the community on [Spectrum](https://spectrum.chat/poi).\n- 📣 Stay up to date on new features and announcements on [Twitter @poi\\_\\_js](https://twitter.com/poi__js).\n\n## Credits\n\nPoi v12 wouldn't exist without the inspirations from following projects:\n\n- Webpack\n- Parcel 2\n- Poi itself\n- Vue CLI 3\n- Create React App\n\n## License\n\nMIT \u0026copy; [EGOIST](https://egoist.sh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fpoi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegoist%2Fpoi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fpoi/lists"}