public class JSXTranspiler extends Object implements TranspilerHook
| Constructor and Description |
|---|
JSXTranspiler() |
| Modifier and Type | Method and Description |
|---|---|
BabelOpts |
getOpts() |
JSXTranspiler |
opts(BabelOpts opts) |
byte[] |
transpile(File f)
indicates a file is being accessed.
|
public JSXTranspiler opts(BabelOpts opts)
public BabelOpts getOpts()
public byte[] transpile(File f) throws TranspileException
TranspilerHooktranspile in interface TranspilerHookf - - the file being accessed (after resourcepath resolvment)TranspileExceptionCopyright © 2017. All rights reserved.