Class: AvenxCompiler

AvenxCompiler()

AvenxCompiler is the main orchestrator for the Avenx-JS build process. It coordinates the parsing of components, processing of styles, and the final bundling of the application.

Constructor

new AvenxCompiler()

Creates an instance of AvenxCompiler and initializes its sub-processors. Uses the current working directory as the project root.

Source:

Members

componentParser :ComponentParser

Type:
Source:

coreDir :string

The directory containing core runtime files.

Type:
  • string
Source:

distDir :string

The distribution directory (usually 'dist').

Type:
  • string
Source:

rootDir :string

The root directory of the project.

Type:
  • string
Source:

srcDir :string

The source directory (usually 'src').

Type:
  • string
Source:

styleProcessor :StyleProcessor

Type:
Source:

Methods

build()

Executes the full build process. Includes resetting style processor, generating runtime, processing bridges, components, and main app.

Source: