I have front-end JS files:
-js
-a.js
-b.js
-c.js
and I request http://example.com/js/all.js
, I will get a file with all contents of a.js
, b.js
and c.js
.
Is there any library provides such function in NodeJS?
require.js should offer the functionality you're looking for if the node common.js
isn't enough.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With