javascript - Browserify multiple files into a single bundle -


currently, browserify single js file bundle.js

$ browserify x1.js --standalone xxx > bundle.js 

what if have multiple js files , want join them single browserified bundle.js

how should command like? can this?

$ browserify x1.js x2.js --standalone xxx > bundle.js 

i using node.js v6

you have answered own question. confirm correct.

$ browserify x1.js x2.js --standalone xxx > bundle.js 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -