Flarum Webpack Config

JSON →
library 3.0.4 ·javascript
verified Jun 4, 2026

A package that generates a Webpack configuration for transpiling JavaScript and TypeScript in Flarum extensions. The current stable version is 3.0.4. It requires Webpack 5 as a peer dependency and is released on an as-needed basis alongside Flarum updates. Key differentiators: it abstracts away Flarum-specific Webpack settings (e.g., Babel presets, module resolution) so extension authors don't need to write their own config. It supports ESM and CommonJS output and integrates with flarum-tsconfig for TypeScript projects.