Bun plugin for importing lua & luau using lune, the standalone luau script runtime.
Find a file
2023-09-25 19:25:39 +05:30
.vscode chore: include lune types for vscode LSP 2023-09-15 17:27:59 +05:30
src feat: initial tests implementation 2023-09-25 19:25:39 +05:30
tests chore(tests): runner should make use of user callback 2023-09-25 19:25:39 +05:30
utils feat: initial tests implementation 2023-09-25 19:25:39 +05:30
.gitattributes chore(gitattributes): include gitattributes 2023-09-15 17:30:06 +05:30
.gitignore init: basic structure & functionality 2023-09-15 17:26:43 +05:30
bun.lockb feat: initial tests implementation 2023-09-25 19:25:39 +05:30
bunfig.toml init: basic structure & functionality 2023-09-15 17:26:43 +05:30
package.json feat: initial tests implementation 2023-09-25 19:25:39 +05:30
README.md chore(README): include barebones readme 2023-09-25 19:25:39 +05:30
test.ts feat: initial tests implementation 2023-09-25 19:25:39 +05:30
tsconfig.json init: basic structure & functionality 2023-09-15 17:26:43 +05:30

bun-luau-loader

Allows to import lua/luau files in TypeScript. Requires Lune.

-- module.luau
return {
  SomeKey = "SomeValue"
}
// index.ts
import { SomeKey } from "./module.luau"