githubEdit

Knight Import/require API

About

Knight has a custom require/import implementaiton in v1.0.0.

Aliases

Aliases are paths you can define to instances such as @ points to ReplicatedStorage.Packages.

Default Aliases

  • core

    • Knight core

  • @

    • ReplicatedStorage.Packages

  • @s

    • ServerStorage.ServerPackages for server, and ReplicatedStorage.Packages for client.

  • packages

    • same as @

  • shared

    • Knight Shared

  • objects

    • Knight Objects of Runtime Context

Examples

Last updated