UNPKG

w-comor-socketio

Version:

A http and websocket communicator in nodejs and browser. Mapping functions from nodejs to other end points, like a simple RPC.

26 lines (20 loc) 504 B
import rollupFiles from 'w-package-tools/src/rollupFiles.mjs' import getFiles from 'w-package-tools/src/getFiles.mjs' let fdSrc = './src' let fdTar = './dist' rollupFiles({ fns: getFiles(fdSrc), fdSrc, fdTar, nameDistType: 'kebabCase', globals: { '@hapi/hapi': '@hapi/hapi', '@hapi/inert': '@hapi/inert', 'socket.io': 'socket.io', }, external: [ '@hapi/hapi', '@hapi/inert', 'socket.io', ], })