Advanced

Advanced

Deep dive into Manic internals, optimization, and plugin development.

Advanced

TL;DR

Advanced topics covering framework internals, build optimization, and creating custom plugins for production deployments.

This section covers topics for developers who want to understand how Manic works under the hood and how to extend it for their specific needs.


What's Inside


Who Should Read This

This section is for:

  • Framework contributors wanting to understand internal architecture
  • Plugin developers creating reusable extensions
  • Production engineers optimizing build and deployment
  • Advanced users debugging complex issues

Prerequisites

Before reading these topics, you should be familiar with:


Topics

Framework Internals

Understanding the internal mechanisms:

  • How manic.config.ts is loaded and processed
  • Route discovery algorithm
  • ~routes.generated.ts generation process
  • Build pipeline stages

Build Optimization

Optimizing production builds:

  • Code splitting strategies
  • Chunk optimization
  • Bundle analysis
  • Tree shaking
  • Minification settings

Plugin Development

Creating custom plugins:

  • Plugin interface
  • Build hooks
  • Server hooks
  • Static file emission

See also:

On this page