Module minifier

Lua minifier - wrapper for LuaSrcDiet with simplified API.

Note: This module is not part of public API!

Functions

__call (opts, chunk, name) Minifies the given Lua chunk.


Functions

__call (opts, chunk, name)
Minifies the given Lua chunk.

Parameters:

Returns:

    function A partially applied function accepting chunk and name. (if chunk is nil)

Or

    string Minified chunk. (if chunk is not nil)

Or

  1. nil (if chunk is not nil and minification failed)
  2. string An error message. (if chunk is not nil and minification failed)
generated by LDoc 1.4.6