JavaScript HTML Other
Clone or download
egoist Publish
 - babel-preset-poi@10.0.2
 - @poi/core@10.1.3
 - poi@10.2.10
Latest commit c068404 Aug 7, 2018

README.md

Poi

NPM version NPM downloads Build Status donate chat

Poi is supported by these awesome backers and sponsors.

Introduction

Poi is a zero-config bundler built on the top of webpack. By using the buzz word zero-config, it does not mean that there's no config. Instead, we pre-configured many things for you. To prevent Poi from becoming too bloated to use, we also introduced some kind of plugin system to make extra features opt-in.

To get a quick taste of Poi, you can install it globally via npm or yarn:

$ npm i -g poi
# But it's recommended to install it locally for real-world projects.
# i.e. cd your-project && npm i poi -D

The poi command is somehow similar to node, by running poi in a directory, it will use index.js or the file specified at main field in package.json as entry file of your application.

# Use `index.js` or `pkg.main`
$ poi

Then your application will be running at http://localhost:4000

preview

In most cases, you don't need to configure anything to make your app work with Poi, since Poi has great built-in support for:

  • Babel, transform widely used ES next features to ES5, including JSX
  • PostCSS, and a bunch of popular CSS pre-processors like Sass
  • Vue, no config is required for your Vue applications
  • etc..

You can dive into the documentation for detailed usage.

Contributing

This project exists thanks to all the people who contribute.

Please make sure to read the Contributing Guide before making a pull request.

Author

Poi © EGOIST, Released under the MIT License.
Authored and maintained by egoist with help from contributors (list).

egoist.moe · GitHub @egoist · Twitter @_egoistlily