The other one is managed by Webpacker, and
it's located inside
Currently, it's mainly used for Preact components, served via
webpack which is
integrated into the Rails app using
There is a packs directory
"pack" files. Pack files are initializers for Webpacker.
Since Forem is not a Single Page Application (SPA), Preact components are mounted as needed by including the pack file in the view files.
The include statement corresponds to the pack
If you have more than one webpacker pack on the page, you need to include it in
loading split chunks multiple times.
The project uses
The aliases used in the project can be found under
For more information in regards to
Aside from the Webpacker repository, see also Ross Kaffenberger's visual guide to Webpacker.
If you're interested in bundles sizes and what's contained within them for a
production build, run
bin/bundleAnalyzer from the command line.