Skip to content
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

feat: Aliasing a npm module without 'npm:' #73

Merged
merged 1 commit into from
Aug 19, 2016
Merged

Conversation

tleunen
Copy link
Owner

@tleunen tleunen commented Aug 19, 2016

The npm: prefix wasn't really necessary because we can detect if the final path is a local file (starting with a dot), or a path to a npm module.

The following example will redirect all underscore calls to lodash.

{
  "alias": {
    "underscore": "lodash"
  }
}

@codecov-io
Copy link

codecov-io commented Aug 19, 2016

Current coverage is 98.18% (diff: 100%)

Merging #73 into master will not change coverage

Diff Coverage File Path
•••••••••• 100% src/mapToRelative.js
•••••••••• 100% src/index.js

Powered by Codecov. Last update 3d4756b...521d73c

@tleunen tleunen merged commit 8e95988 into master Aug 19, 2016
@tleunen tleunen deleted the feat/refactor-npm-mod branch August 19, 2016 02:10
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.

2 participants