Back to rankings

egoist/poi

JavaScriptpoi.js.org

⚡A zero-config bundler for JavaScript applications.

webpackbuild-toolbundlevuejsreactpreactvuesveltetypescriptbabelpostcss
Star Growth
Stars
5.2k
Forks
253
Weekly Growth
Issues
20
2k4k
Apr 2016Sep 2019Feb 2023Jul 2026
Artifactsnpmnpm install poi
README

⚠️ Poi has been deprecated, please migrate to Vite, contact me personally if you need help.


npm version build status npm downloads poi twitter

Poi is a bundler built on the top of webpack, trying to make developing and bundling apps with webpack as easy as possible.

The Poi project is supported by our Backers and funded through Patreon.

Features

  • 📦 Out of box support for JS, CSS, File assets and more.
  • ⚛ Framework-agnostic but also support JSX, Vue and more with no configs.
  • 🔌 Great extensibility.
  • 🐙 Fits most web apps, npm libs.
  • 🚨 Great development experience.

Quick Overview

Before we get started, ensure that you have installed Node.js (>=8) and Yarn (or npm) on your machine.

Get Started Immediately

yarn global add create-poi-app
create-poi-app my-app

cd my-app
npm run dev

Then open http://localhost:4000 to see your app.
When you’re ready to deploy to production, create a minified bundle with npm run build.

Get Started Manually

Inside an empty project, run yarn init or npm init to create a package.json and install Poi:

yarn init
yarn add poi --dev

Now all you need is to create an entry file, like if you're building a website, just create an index.js:

const el = document.createElement('div')
el.textContent = 'Hello Poi!'

document.body.appendChild(el)

Now if you run:

yarn poi --serve

You will get a URL like http://localhost:4000 which you can open to preview the app.

Next let's start adding some dependencies like a CSS file style.module.css:

.title {
  color: pink;
}
import styles from './style.module.css'

const el = document.createElement('div')
el.className = styles.title
el.textContent = 'Hello Poi!'

document.body.appendChild(el)

Save it and the browser will automatically reload to apply the changes!

Documentation

📚 https://poi.js.org

You can improve it by sending pull requests to this repository.

Check out this repository for more examples.

Community

All feedback and suggestions are welcome!

Credits

Poi v12 wouldn't exist without the inspirations from following projects:

  • Webpack
  • Parcel 2
  • Poi itself
  • Vue CLI 3
  • Create React App

License

MIT © EGOIST

Related repositories
storybookjs/storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation

TypeScriptnpmMIT Licensestorybookstyleguide
storybook.js.org
90.6k10.2k
PanJiaChen/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

VueMIT Licensevueadmin
90.2k30.4k
webpack/webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

JavaScriptnpmMIT Licensewebpackjavascript
webpack.js.org
65.8k9.4k
bailicangdu/vue2-elm

Large single page application with 45 pages built on vue2 + vuex. 基于 vue2 + vuex 构建一个具有 45 个页面的大型单页面应用

VueGNU General Public License v2.0vuevuex
cangdu.org/elm/
41k12.3k
akveo/ngx-admin

Customizable admin dashboard template based on Angular 10+

TypeScriptnpmMIT Licensewebpackbootstrap4
akveo.github.io/ngx-admin/
25.7k7.9k
electron-react-boilerplate/electron-react-boilerplate

A Foundation for Scalable Cross-Platform Apps

TypeScriptnpmMIT Licenseelectronboilerplate
electron-react-boilerplate.js.org
24.3k4k
markerikson/react-redux-links

Curated tutorial and resource links I've collected on React, Redux, ES6, and more

reactredux
22.5k2.5k
jhipster/generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.

TypeScriptnpmApache License 2.0angularspring-boot
jhipster.tech
22.4k4.2k
verekia/js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.

JavaScriptnpmMIT Licensetutorialstack
20.2k2k
mojs/mojs

The motion graphics toolbelt for the web

CoffeeScriptMIT Licensewebgraphics
mojs.github.io
18.7k889
alibaba/ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)

TypeScriptnpmMIT Licensereactreact-router
ice.work
18.6k2.1k
docusealco/docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️

RubyRubyGemsGNU Affero General Public License v3.0documentspdf
docuseal.com
18k1.8k