javascript - Node.JS Embed Client Modules -


i'm developing node.js application , want "embed" socket.io client module inside javascript file. i'm sorry if explaination bad, , i'll take example.

my code looks this:

<script src="/socket.io/socket.io.js"></script>  	<script src="../js/ap.js"></script>

i want like:

<script src="../js/app.js"></script>

and not socket.io, modules i'll use.

how ? i've tried lot of things no solution.

you should technologies packaging javascript code browser: bower, browserify, , webpack.


Comments

Popular posts from this blog

ios - UITEXTFIELD InputView Uipicker not working in swift -

Hatching array of circles in AutoCAD using c# -