Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Support browser path false for require without ext #195

Closed
wants to merge 1 commit into from

Conversation

porsager
Copy link

It's pretty common for node modules to use require() without specifying the file extension, so adding this will most likely make a few more libraries work with rollup. One project doing this is for instance object-assign which doesn't work currently. inspect-js/object-inspect#18

Considering the line that checks for changed paths below does exactly the same it's probably just an oversight that this was missing.

It's pretty common for node modules to use require() without specifying the file extension, so adding this will most likely make a few more libraries work with rollup. One project doing this is for instance `object-assign` which doesn't work currently. inspect-js/object-inspect#18

Considering the line that checks for changed paths below does exactly the same it's probably just an oversight that this was missing.
@porsager porsager changed the title Support browser path false of requires without ext Support browser path false fr requires without ext Jan 21, 2019
@porsager porsager changed the title Support browser path false fr requires without ext Support browser path false for requires without ext Jan 21, 2019
@porsager porsager changed the title Support browser path false for requires without ext Support browser path false for require without ext Jan 21, 2019
Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test detailing what issue is solved here

bhousel added a commit to openstreetmap/iD that referenced this pull request Sep 5, 2019
@shellscape
Copy link
Contributor

Closing as abandoned. We're getting ready to move this plugin to https://github.com/rollup/plugins and would welcome a new PR there for review once the move is complete. 🍺

@shellscape shellscape closed this Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants