hubot-glip-himmat
Version:
This whole work taken from [Tyler Long Hubot-Glip Adapter](https://github.com/tylerlong/hubot-glip) and apply few customization to it so it can work with interactive glip posts.
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'
}
}]
}
}