mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
Include justification for alias name case insensitivity
This commit is contained in:
parent
882c41ed07
commit
d4e020ddea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue