Q: how exactly it works?
Closed this issue · 3 comments
php-coder commented
Hi,
thank you for the plugin!
I'm definitely going to try it but I don't understand how it works. I see that the plugin executes JS code with ScriptEngine (Nashhorn as far I understand):
But it's not clear from where Babel.transform()
function is came from. The plugin doesn't have dependency on babel webjar and there is no recommendation that I should include it either.
Could you, please, explain this moment and perhaps document it?
Thank you!
php-coder commented
Ah, I found it:
babelSrc - readable path to standalone(!) Babel sources. It can be provided from WebJars dependency, minified or development version,
php-coder commented
P.S. Perhaps, README.md could be updated to show the example of using it with WebJars? Just an idea.
milpol commented
Hi!
you are right, documentation needs some love, I already received couple of
emails asking for help...
Please check my other project: https://github.com/milpol/onefold it uses
complete Maven front end bundling, it should answer your question.
Let me know if that helped
Thanks!
Milosz
…On Sat, 22 Jun 2019, 22:24 Slava Semushin, ***@***.***> wrote:
P.S. Perhaps, README.md could be updated to show the example of using it
with WebJars? Just an idea.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2?email_source=notifications&email_token=AAIPS6Q5WV3CR2SCJCCUEF3P32C6PA5CNFSM4H2XQIO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKQXVI#issuecomment-504695765>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIPS6SOZOE4OMDT6LMKM2DP32C6PANCNFSM4H2XQIOQ>
.