Hi everyone, happy mid-October! So excited Halloween is just around the corner. I’m a new face around here but you’ll be seeing me and my lil’ rat avatar around.
Stay spooky!
Hi everyone, happy mid-October! So excited Halloween is just around the corner. I’m a new face around here but you’ll be seeing me and my lil’ rat avatar around.
Stay spooky!
Did I really just see require-by-string
? Let’s go, it’s another huge W in another release note!
But what does that do?
Our Savior came and helped us !
Has there been any word on how this is implemented? Is it path based, or is it unique file name based like Overture?
Since it’s said “preliminary support”, so I believe it’s still in the early stages and I expect to see an announcement for this.
This has been an improved RFC Require by String with Relative Paths | Luau RFCs I’m glad they’re now doing it.
It’s been discussed a bit in the Roblox Open Source Software (ROSS) discord server.
It’s path based! No idea what the limitations are though. I imagine if nothing else it’ll have to be a unique name per module.
I imagine it’d work the same way it works for Lune, where it’d work like require("@lune/roblox")
as an example.
Very interesting update!
Am looking forward to utilize some of this. (I’m trash at scripting les be fr )
interesting will view
they would need to add a configuration for @
dirs like in a .luaurc
file