Opinionated bundler config for React applications - Webpack support today, with Vite support in alpha.
Documentation: packer.ekz.io
The 1.0 release is in beta:
yarn add -D @ekz/packer@betaCreate webpack.config.js in your application root:
const Packer = require('@ekz/packer');
module.exports = Packer.webpack.createApplicationConfiguration();Or try the alpha Vite support with vite.config.js:
const Packer = require('@ekz/packer');
module.exports = Packer.vite.createApplicationConfiguration();Vite support is currently alpha and its API may change before it is promoted to stable.
See the getting started guide for ESLint, TypeScript, and migration from 0.16.
The full package README (also published to npm) is in packages/packer/README.md.
MIT — see LICENSE.