Skip to content

chore: revert the tilde resolution as it was removed by mistake #77

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

Merged
merged 1 commit into from
Feb 7, 2019

Conversation

DimitarTachev
Copy link
Contributor

PR Checklist

What is the current behavior?

The tilde resolution stopped working as we removed it along with the short imports deprecation.

What is the new behavior?

Only the short imports handling is removed from the paths and the tilde support is back again.

@DimitarTachev DimitarTachev merged commit d8d97fd into master Feb 7, 2019
@DimitarTachev DimitarTachev deleted the tachev/fix-tilde-resolution branch February 7, 2019 13:41
@@ -80,6 +81,19 @@ function addTsLib(existingConfig, libName) {
}
}

function addTnsCoreModulesPathMappings(existingConfig, displayableTsconfigPath, projectDir) {
Copy link

@vchimev vchimev Feb 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could change the function's name as it no longer maps tns-core-modules short imports, but only tilde. ;)

dtopuzov added a commit to NativeScript/nativescript-tooling-qa that referenced this pull request Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants