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

Npm support? #23

Open
sebastiendan opened this issue Nov 4, 2016 · 4 comments
Open

Npm support? #23

sebastiendan opened this issue Nov 4, 2016 · 4 comments

Comments

@sebastiendan
Copy link

Hi thanks for your great great library!

Any chance to put it on npm registry?

Thanks!

@kittykatattack
Copy link
Owner

Sorry, there won't be any NPM support ... unless someone out there want to take it on as a project?
If you do, drop us a line in this thread and we'll figure it out 😄

@mattlima
Copy link
Collaborator

I think npm support would be a great next step for Hexi as it evolved towards v1. There are, however, some implications for the codebase, particularly w/r/t variable scope. I've been working on a Gulp compilation pipeline for the lib and I see that sound.js for example uses this to refer to the global scope. I'd want to turn each module into an npm package and then have core.js require them (and Pixi as well, we can lock the pixi version package.json). Having a modules.js would seem like overkill in this case, but I can see us keeping a 'fat' hexi file as part of the distribution which would load pixi, the modules, and core. Maybe we can take a look after the Gulp pipeline stuff is done?

@kittykatattack
Copy link
Owner

I totally agree!

@flozero
Copy link

flozero commented Aug 3, 2018

Hello all i am trying to use all of the concept that propose exi by patching every modules on hexi with a complete npm interaction and es6 basic support and using the new pixi version

But my knowledge is just at the beginning. If some people want to help me to understand i will be capable to create a real npm bundler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants