Lilact
    Preparing search index...

    Function require

    • Loads a module using Lilact's module loader.

      This function provides the runtime require() implementation used by transpiled Lilact modules.

      Parameters

      • path: string

        Module path or URL to load.

      • ...args: any[]

      Returns any

      The module exports, or a Promise for asynchronous modules.

      If the module cannot be loaded or evaluated.