Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jun 3, 2017
1 parent 4691e5a commit 304c0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/defaults.js
Expand Up @@ -38,7 +38,7 @@ export function resolveId ( importee, importer ) {

// external modules (non-entry modules that start with neither '.' or '/')
// are skipped at this stage.
if ( importer !== undefined && ( isAbsolute( importee ) || importee[0] === '.' ) ) return null;
if ( importer !== undefined && !isAbsolute( importee ) && importee[0] !== '.' ) return null;

// `resolve` processes paths from right to left, prepending them until an
// absolute path is created. Absolute importees therefore shortcircuit the
Expand Down

0 comments on commit 304c0be

Please sign in to comment.