Skip to content

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

Merged
tleunen merged 1 commit into
masterfrom
feat/refactor-npm-mod
Aug 19, 2016
Merged

feat: Aliasing a npm module without 'npm:'#73
tleunen merged 1 commit into
masterfrom
feat/refactor-npm-mod

Conversation

@tleunen
Copy link
Copy Markdown
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
Copy Markdown

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