jspm/babel-plugin-transform-cjs-dew

Reduce failure of unresolved wildcards

guybedford opened this issue · 1 comments

The wildcard error in https://github.com/jspm/babel-plugin-transform-cjs-dew/blob/master/transform-cjs-dew.js#L105 will cause a full dew conversion failure for the entire file.

Ideally we should just be able to fail on that specific wildcard require code path instead of leaving the entire package broken.

See jspm/jspm-cli#2488 (comment) for an example here.

Released in 1.0.1.