Flarum Webpack Config
JSON →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.
Resources
packageflarum-webpack-config ↗
API endpoints
full doc /v1/registry/flarum-webpack-config