Skip to content

Handle module.id being null#62

Open
patrick-webs wants to merge 1 commit intohughsk:masterfrom
websdotcom:master
Open

Handle module.id being null#62
patrick-webs wants to merge 1 commit intohughsk:masterfrom
websdotcom:master

Conversation

@patrick-webs
Copy link
Copy Markdown

Fixes error "TypeError: Path must be a string. Received undefined" when
operating on minified output that had been processed by derequire, e.g.

{
  id: undefined,
  source: '"use strict";var Promise=_dereq_("./promise.js")();module.exports=Promise',
  deps: {
    './promise.js': '/Users/username/src/myproject/core/node_modules/bluebird/js/main/promise.js'
  }
}

Fixes error "TypeError: Path must be a string. Received undefined" when
operating on minified output that had been processed by derequire, e.g.

  {
    id: undefined,
    source: '"use strict";var Promise=_dereq_("./promise.js")();module.exports=Promise',
    deps: {
      './promise.js': '/Users/username/src/myproject/core/node_modules/bluebird/js/main/promise.js'
    }
  }
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.

1 participant