server.js, which is actually a middleware that can be inserted in a custom web server.
npx frontity serve
npx frontity buildto generate the
npx frontity serveto launch a web server that makes use of the
server.jsgenerated in the previous step.
server.jsas a middleware
npx frontity buildyou get a
buildfolder in the root of your project.
buildfolder there is a
.htmlfile generated at
analyze/module-development.html. This file is a visual report in the form of a tree generated by Webpack Bundle Analyzer.