File: examples/server.js

Recommend this page to a friend!
  Classes of Gamaiel Zavala  >  cmbn  >  examples/server.js  >  Download  
File: examples/server.js
Role: Example script
Content type: text/plain
Description: Example script
Class: cmbn
Generate combos of JavaScript code served via CDNs
Author: By
Last change: Update of examples/server.js
Date: 2 months ago
Size: 196 bytes
 

Contents

Class file image Download
var cmbn = require('../index');

// start the server and point to the dir we want to serve assets from locally (optional)
cmbn.server.createServer({port: 8080, staticDir: __dirname + '/public'});