Closed syaiful6 closed 8 years ago
Thanks for your kind words - perhaps you can pass some options to esprima codegen, I am not sure this option is supported by esprima though. I will look into it and let you know!
hi @anodynos, dont worry, well i know the generated code is valid. it's just minor issue.
I think uRequire doesn't have to any code convertion like this, so i open this issue.
Thanks @syaiful6 - you can set a codegenOptions
object on a Module
(via a ResourceConverter
) to force a specific code generated format. I had a look at escodegen API though and can't find any relevant option... So I'll close this issue :-)
Thanks for the great project, by the way how i prevent uRequire convert the source code? It's look like do some convertion like:
to something:
I use uRequire with grunt, is there any option for this?