public class JSXWithBabelTranspiler extends Object implements TranspilerHook
| Constructor and Description |
|---|
JSXWithBabelTranspiler() |
| Modifier and Type | Method and Description |
|---|---|
BabelOpts |
getOpts() |
JSXWithBabelTranspiler |
opts(BabelOpts opts) |
byte[] |
transpile(File f)
indicates a file is being accessed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranspilepublic JSXWithBabelTranspiler 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 © 2018. All rights reserved.