hubot-ringcentral
Version:
Hubot adapter to use with RingCentral Team Messaging
22 lines (20 loc) • 424 B
JavaScript
import nodeExternals from 'webpack-node-externals'
import path from 'path'
module.exports = {
target: 'node',
externals: [nodeExternals()],
entry: ['babel-polyfill', './src/index.js'],
output: {
path: path.join(__dirname, 'src'),
filename: 'index.bundle.js',
libraryTarget: 'commonjs2'
},
module: {
rules: [{
test: /\.js$/,
use: {
loader: 'babel-loader'
}
}]
}
}