server/apps/comments/webpack.js
John Molakvoæ (skjnldsv) b53a9130a6
Unify webpack config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-29 15:19:18 +02:00

13 lines
243 B
JavaScript

const path = require('path')
module.exports = {
entry: path.join(__dirname, 'src', 'comments.js'),
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: 'comments.js'
},
externals: {
jquery: 'jQuery'
}
}