-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails on transforming path-based require calls #2
Comments
How would you like these path-based calls to be normalized? |
Doesn't matter, but needs to be checked for no-conflicts with other names. How about |
I'm thinking that the module name should just be converted to the actual name of the file. For example: path name: module name: Does that work for you? |
Then, modules from different folders but with same names, won't work. |
Could you grab the latest dev branch code and let me know if it fixes the relative file path issue? I am now using this format: path name: module name: |
Pretty sure it should, but I can't test until #3 is fixed. |
This should now be fixed in the |
require('./folder/file')
is transformed tovar folder/file = ...
which causes syntax error.The text was updated successfully, but these errors were encountered: