Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert data files to lua #139

Closed
jeparlefrancais opened this issue Oct 31, 2023 · 0 comments · Fixed by #178
Closed

Convert data files to lua #139

jeparlefrancais opened this issue Oct 31, 2023 · 0 comments · Fixed by #178
Labels

Comments

@jeparlefrancais
Copy link
Contributor

When using the bundling mode, darklua is able to load data files (json, json5, yml, toml) and convert them to Lua. There should be a way to convert data files easily without using the bundler.

It could be as simple as a convert command that takes supported data files and maps them Lua files:

darklua convert data.yml data.lua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant