meteor-client-side icon indicating copy to clipboard operation
meteor-client-side copied to clipboard

how to add other packages?

Open ghost opened this issue 8 years ago • 4 comments

like accounts-facebook, because I need oauth.

Should I ran meteor build --directory to get my personal minified version meteor-client-side.min.js or can I add the files oauth.js accounts-base.js accounts-oauth.js etc ?

ghost avatar Jun 29 '16 06:06 ghost

@pykiss Probably adapting the bundler script... @idanwe can you confirm?

telemakhos avatar Jul 05 '16 13:07 telemakhos

adapting the bundler script and changing src/packages

There may be unespected dependences like callbak-hook or localstorage, and it is important to concatenate the files in the right order

Trial And Error

ghost avatar Jul 07 '16 11:07 ghost

@pykiss You indeed need to modify or create your own bundle script.

For creating accounts-facebook you will need to do something very similar to accounts-password bundle script and when you try to understand you dependencies you will not need to bundle the bundled accounts-base files

idanwe avatar Jul 23 '16 21:07 idanwe

I am not pretty sure that i have done it right, but messy...

But it works fine

https://github.com/pykiss/meteor-client-side

Thanks.

Maybe when I had some freetime i'll try to do it right building a module instead of messing with your sources.

ghost avatar Jul 27 '16 06:07 ghost