Skip to content

mogunogu/lua-bundler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Bundle Lua files into one:

lua-bundler f "./example/src/Main.lua" "./example/dist/bundle.lua"

Inject to war3map.lua:

lua-bundler w "./example/src/Main.lua" "./example/dist/war3map.lua"

Add -p (production) to minify bundled lua

lua-bundler f "./example/src/Main.lua" "./example/dist/bundle.lua" -p
lua-bundler w "./example/src/Main.lua" "./example/dist/war3map.lua" -p

Require flavours

require("Modules/Module")
require "Modules.Module"

Build with pkg

e.g. pkg . -t node12-win-x64

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.1%
  • Lua 6.9%