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

Add minified asset to npm package #26

Merged
merged 1 commit into from
Jan 8, 2020
Merged

Conversation

c-w
Copy link
Owner

@c-w c-w commented Dec 28, 2019

The package published to NPM currently contains all the files in the repository which includes a bunch of unnecessary files (e.g. the code for the demo page).

This pull request makes the listing of files published to NPM explicit to include only:

  • mathquill4quill.js: the core library written in ES6.
  • build/mathquill4quill.min.js: a babelified and minified version of the file for older browsers.

@boomanaiden154
Copy link
Collaborator

This looks good. Everything is still linked to the Github repo from NPM, and it doesn't make sense to randomly duplicate files.

@boomanaiden154 boomanaiden154 merged commit 8d58c3a into master Jan 8, 2020
Copy link
Collaborator

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We don't need to be cluttering up projects when people install it from NPM. Might help install time slightly.

@c-w c-w deleted the npm-publish-minified branch January 9, 2020 01:27
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