Add afterEmit plugin hook#1353
Conversation
This function would run after Lua files have been written to disk (in order to allow plugins to perform post-build tasks such as optimizing/minifying/obfuscating/bytecode-compilation/etc).
|
Not sure if this should be part of TSTL. There are already JS build systems that incorporate that functionality (e.g. gulp, grunt, make). Even a simple shell or npm script would work fine. Especially because all the tasks mentioned don't need any information from TSTL and can just be standalone programs/scripts.
|
|
@lolleko Pinged you on Discord, see the relevant chat; the purpose of |
(cherry picked from commit ab6099c)
This function would run after Lua files have been written to disk (in order to allow plugins to perform post-build tasks such as optimizing/minifying/obfuscating/bytecode-compilation/etc).