Skip to content

Conversation

@axelhzf
Copy link
Contributor

@axelhzf axelhzf commented Jun 22, 2021

There was a problem trying to import last

import { last } from 'lodash';

The problem was the condition for checking if the import was an alias. It was checking .includes('as') (which is true for last) instead of .includes(' as ')

@josteph josteph merged commit e91dff2 into josteph:main Jun 26, 2021
@josteph
Copy link
Owner

josteph commented Jun 26, 2021

I have released v1.0.4, thanks for the PR!

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