Ignore dev files in published package #80
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These files are not used by library consumers and therefore should be ignored by the published files.
(I'm using babel from the project that consumes this library and babel attempts to use the .babelrc file, which is an option that can't be disabled - not in my setup, at least.)
Furthermore, I propose the following changes (which I'll make a separate PR for if agreed to):
I suggest pointing the main entry point to the compiled dist file.
jQuery
&$
) is making this project impossible/very hard to use when bundling without explicit modifications to standard loader logic.I suggest adding
jquery
as apeerDependency
and adding a import for it on the places the global var is referenced.Additionally, an default export could be added to
src/index.js
that would be a patched version of jQuery with the filterizr plugin added to it.