Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lodash as dependency, fix #172 #173

Merged
merged 1 commit into from
Jan 15, 2016
Merged

Remove lodash as dependency, fix #172 #173

merged 1 commit into from
Jan 15, 2016

Conversation

creeperyang
Copy link
Contributor

This PR removes changes included with commit b3913d04001f031342794c71acfc4a1bae4e01b3.

Why?

  • commit b3913d makes lodash a dependency for user's app. Not every user will use lodash. Those who don't use lodash will run into error.
  • When I upgrade [email protected] to [email protected], my build script crashed because of reason above. The commit b3913d leads to incompatibility.
  • I think escape is not that important and we have other approach.

More details:

@jantimon
Copy link
Owner

What about 'var _ = require("' + require.resolve('lodash') + '");'?

@creeperyang
Copy link
Contributor Author

@jantimon A better solution 😄

jantimon added a commit that referenced this pull request Jan 15, 2016
@jantimon jantimon merged commit f108db0 into jantimon:feature/loaders Jan 15, 2016
@creeperyang creeperyang deleted the feature/loaders branch January 15, 2016 14:37
@lock
Copy link

lock bot commented May 31, 2018

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2018
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.

2 participants