Compiler

remux use babel plugin to transpile code, this plugin accept 3 parameters

  • role means the end to be run

  • id is an index, to relocation file, it will be abosulute path if empty

  • lib the library to import _remuxInvoke, default: @remux/lib

If you want to directly try the remux transpiling code, you can test it in the playground.