Skip to main content

Import

This file redirects the require to the correct importer based on the current run context.

This particular version of the Import module (The one found within Orion Packages) is a generic Importer prebuilt for use with most Supersocial projects.

[Example Usage]

local RS = game:GetService("ReplicatedStorage")
local Import = require(RS.Orion.Import)

local MyModule = Import("MyModule")
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [],
    "name": "Import",
    "desc": "This file redirects the require to the correct importer based on the current run context.\n\nThis particular version of the Import module (The one found within Orion Packages) is\na generic Importer prebuilt for use with most Supersocial projects.\n\n[Example Usage]\n```lua\nlocal RS = game:GetService(\"ReplicatedStorage\")\nlocal Import = require(RS.Orion.Import)\n\nlocal MyModule = Import(\"MyModule\")\n```",
    "source": {
        "line": 20,
        "path": "src/modulesonrails/src/Shared/Import/init.lua"
    }
}