Poi is a bundler built on the top of webpack, trying to make developing and bundling apps with webpack as easy as possible. Before we get started, ensure that you have installed Node.js (>=8) and Yarn (or npm) on your machine. Inside an empty project, run yarn init or npm init to create a package.json and install Poi. Poi CLI is built into the main package poi. While you can install it globally and run it, it is much better to install it locally into your project as a dev dependency. By default Poi bundles your app in development mode, so running poi alone doesn't really do much but generates an unminified bundle. But you can combine it with --serve flag which starts a dev server to serve the development bundle with hot reloading support. Save it and the browser will automatically reload to apply the changes!
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
- Fit most web apps, npm libs
- Great development experience
- Automatic transpilation and bundling