{"library":"poi","title":"Poi Bundler","description":"Poi was a zero-configuration bundler for JavaScript applications, built on top of Webpack, designed to simplify the development and bundling process. Its core promise was to provide out-of-the-box support for various web assets (JavaScript, CSS, images, etc.) and popular frameworks like React and Vue, minimizing the need for extensive configuration. The last stable version released was 12.10.3 in October 2020. However, Poi has since been officially deprecated, and its maintainers recommend migrating to modern alternatives like Vite. There is no ongoing release cadence or active development, as the project has reached end-of-life status. Its key differentiators were its 'zero-config' approach, aiming for a delightful development experience, and extensibility through a plugin/preset system.","language":"javascript","status":"deprecated","last_verified":"Sun Apr 19","install":{"commands":["npm install poi"],"cli":{"name":"poi","version":null}},"imports":["npx poi --serve","module.exports = { entry: './src/index.js', plugins: [ require('@poi/plugin-vue')() ] };"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"mkdir my-poi-app\ncd my-poi-app\nnpm init -y\nnpm install --save-dev poi\n\n# Create an entry file, e.g., src/index.js\nmkdir src\ncat > src/index.js <<EOF\nimport './style.css';\n\nconst app = document.createElement('div');\napp.id = 'app';\napp.textContent = 'Hello from Poi!';\ndocument.body.appendChild(app);\n\nconsole.log('Poi is running!');\nEOF\n\n# Create a basic CSS file, e.g., src/style.css\ncat > src/style.css <<EOF\nbody {\n  font-family: sans-serif;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  min-height: 100vh;\n  margin: 0;\n  background-color: #f0f0f0;\n}\n\n#app {\n  padding: 20px;\n  background-color: white;\n  border-radius: 8px;\n  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n}\nEOF\n\n# Add 'dev' and 'build' scripts to package.json\nnpm set-script dev \"poi --serve src/index.js\"\nnpm set-script build \"poi --prod src/index.js\"\n\n# Run the development server\nnpm run dev","lang":"javascript","description":"This quickstart demonstrates how to set up a new project with Poi, create a simple JavaScript and CSS entry point, and use the built-in development server and build command.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}