We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
./../
Input:
import blah from './../foo'; blah();
Output:
define('inner/relative-import-inner', ['inner/../foo'], function (blah) { 'use strict'; blah['default'](); });
When compiled with:
esperanto.toAmd(content, { amdName: moduleName, strict: true, absolutePaths: true }).code
My expected output is:
define('inner/relative-import-inner', ['foo'], function (blah) { 'use strict'; blah['default'](); });
The text was updated successfully, but these errors were encountered:
11aee01
Merge pull request #98 from esperantojs/fix-absolute-paths
476bf8d
fix absolute paths in cases like ./../foo - fixes #97
Rich-Harris
No branches or pull requests
Input:
Output:
When compiled with:
My expected output is:
The text was updated successfully, but these errors were encountered: