server/apps/comments/webpack.js

14 lines
243 B
JavaScript
Raw Normal View History

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'
}
}