@marko/compiler compiles .marko into .js using installed babel-based translator from either packages/runtime-class or packages/runtime-tags.
API: src/index.js.
Config: src/config.js.
Package names: marko@5, @marko/runtime-class
See packages/runtime-class/AGENTS.md.
Package names: marko@6, @marko/runtime-tags
See packages/runtime-tags/AGENTS.md.
Files should be organized from most important to least important:
- Public API (exports)
- High-level orchestration logic
- Helper functions
- Low-level implementation details
Use function declaration hoisting to enable this structure.