From 6148f9e61f48101c9fe7eb25ce16da58f2d00936 Mon Sep 17 00:00:00 2001 From: menarulalam <35981995+menarulalam@users.noreply.github.com> Date: Tue, 14 Nov 2023 11:45:11 -0800 Subject: [PATCH] Update require-by-string-aliases.md --- docs/require-by-string-aliases.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/require-by-string-aliases.md b/docs/require-by-string-aliases.md index 7c04eef..a0d04b6 100644 --- a/docs/require-by-string-aliases.md +++ b/docs/require-by-string-aliases.md @@ -14,7 +14,7 @@ Luau itself currently supports a basic require-by-string syntax that allows for #### Aliases -Aliases can be used to bind an absolute or relative path to a convenient, case-sensitive name that can be required directly. +Aliases can be used to bind an absolute or relative path to a convenient, case-insensitive name that can be required directly. ```json "aliases": { @@ -34,7 +34,7 @@ Or even a sub-module: local createElement = require("Roact/createElement") ``` -Aliases are overrides. Whenever the first component of a path exactly matches a pre-defined alias, it will be replaced before the path is resolved to a file. +Aliases are overrides. Whenever the first component of a path exactly matches a pre-defined alias, it will be replaced before the path is resolved to a file. Alias names are also restricted to the charset `[A-Za-z0-9.-_]` ### Package management