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

CommonJS modularize for npm #1

Merged
merged 2 commits into from
Sep 3, 2017
Merged

CommonJS modularize for npm #1

merged 2 commits into from
Sep 3, 2017

Conversation

tomoki1207
Copy link

@tomoki1207 tomoki1207 commented Sep 1, 2017

Related to this.

  • add "main" and "style" sections for package.json
  • toggle jquery object passed this plugin depends on the module system
  • improve .gitignore

It might contains typo because not testing. :P

@ryoichi-obara
Copy link
Owner

ryoichi-obara commented Sep 1, 2017

Thanks for PR.
How will "style" attribute (in package.json) work?

@tomoki1207
Copy link
Author

"main" and "style" tells that file path to js and css to some bundlers(browserify, parcelify, ...).
In case of using jQuery plugins via npm, we often bundle these pakages(includes plugins) to one file.

@ryoichi-obara ryoichi-obara merged commit 23d3acf into ryoichi-obara:0.8.9-dev Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants