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

Build on npm publish #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ramiel
Copy link

@ramiel ramiel commented Mar 2, 2018

Using this module with webpack is impossible. First the module entrypoint is index.js but it should be, instead, the result of the build. Using the module like this, on development, it installs and requires modules which does not work when the target is "browser".

This PR adds a prepublish script to generate the dist folder everytime the packet is published on npm.
Then it expose dist/quickconnect.js. It doesn't expose the minified version because this can be done later by the application which uses it.

@ramiel
Copy link
Author

ramiel commented May 28, 2018

Any news about this? I know the tests are failing on some job, but I'm not sure why

@ramiel ramiel force-pushed the publish-scripts branch from c934dcd to eeeb0e7 Compare May 28, 2018 09:17
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.

1 participant