1
0
Go to file
2023-05-11 22:01:44 +03:00
module-bundler.lua initial commit 2023-05-11 22:01:44 +03:00
README.md initial commit 2023-05-11 22:01:44 +03:00

Lua file embedder

Combine multiple lua files into one amalgamation. This works by appending a custom module loader to package.loaders.

Usage:

require("module-bundler")("program.lua", "main.lua", {
	"utils.lua",
	"ui.lua",
	"math.lua",
})

This will create a file called program.lua where utils.lua, ui.lua and math.lua have been embedded into main.lua.