w-comor-hapi
Version:
A http communicator in nodejs and browser. Mapping functions from nodejs to other end points, like a simple RPC.
24 lines (18 loc) • 429 B
JavaScript
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',
'axios': 'axios',
},
external: [
'@hapi/hapi',
'axios',
],
})