-
Notifications
You must be signed in to change notification settings - Fork 17
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
Tighten .npmignore ; use babel as transpiler #1
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ignore everything | ||
* | ||
.* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is .* necessary since we already have *? can it be removed? |
||
# But the build files | ||
!lib/** |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import React, { Component } from 'react'; | ||
import debounce from 'lodash.debounce'; | ||
import {debounce} from 'lodash'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could you add spaces inside {} for consistency? { debounce } |
||
|
||
module.exports = function debounceRender(ComponentToDebounce, ...debounceArgs) { | ||
return class DebouncedContainer extends Component { | ||
|
@@ -28,4 +28,4 @@ module.exports = function debounceRender(ComponentToDebounce, ...debounceArgs) { | |
return <ComponentToDebounce { ...this.state } />; | ||
} | ||
} | ||
}; | ||
}; |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for introducing the .npmignore. Since the configuration is self explanatory the comments don't seem necessary, could you remove them?