Skip to content

Conversation

@Stefanuk12
Copy link
Contributor

Closes #240

An array of RequireModes can be passed for convert_require's source, and bundle's require_mode. It attempts each require mode in turn, until one is successful. Furthermore, support for using roblox as the source require mode is now supported.

  • convert_require can now accept roblox as a valid source option
  • convert_require can now accept an array of require modes for the source
  • bundle can now accept an array of require modes for require_mode

Stefanuk12 and others added 10 commits December 28, 2025 00:35
* Fix `inject_global_value` rule with default value (seaofvoices#324)

* Release 0.17.3 (seaofvoices#325)

* Add support for property modifiers in table types (seaofvoices#332)

This PR adds support for `read` and `write` access modifiers in 
table types.

Example:
```
export type Object = {
    read name: string,
}
```

---------

Co-authored-by: jeparlefrancais <35781636+jeparlefrancais@users.noreply.github.com>
@Stefanuk12
Copy link
Contributor Author

While testing, I noticed an issue when using both luau and path require modes. If the path resolver fails, it will not fallback onto another. For example, if path runs first, using @self will error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hybrid require mode

1 participant