Include justification for alias name case insensitivity

This commit is contained in:
menarulalam 2023-11-15 13:44:29 -08:00 committed by GitHub
parent 882c41ed07
commit d4e020ddea
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ Or even a sub-module:
local createElement = require("@Roact/createElement") 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. Alias names are also restricted to the charset `[A-Za-z0-9.\-_]`. 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.\-_]`. We restrict the charset and make them case insensitive because we envision alias names to be primarily used as package names, which tend to be case insensitive and alphanumeric.
### Package management ### Package management