rbxts-transformer-fs
rbxts-transformer-fs is a transformer designed for roblox-ts.
It allows to convert from any file system related functions to an expected functionality offered with this transformer.
Installation
-
Open your recent roblox-ts project
-
Install the transformer:
- Run this line
npm i -D rbxts-transformer-ts
in the command line
- Run this line
-
Configure the transformer:
- Go to the
tsconfig.json
in your preferred text editor and put the following under compilerOptions:
"plugins": [ { "transform": "rbxts-transformer-fs" } ]
- Go to the
-
You're good to go!
Warning
- This transformer is a bit unstable at this stage. The owner of this package cannot ensure the reliability of this transformer (especially the
$json
function)
Migrating from rbxts-transformer-path
See MIGRATION