2019-05-24 12:08:39 +00:00
|
|
|
const path = require('path')
|
2019-02-15 12:50:12 +00:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: path.join(__dirname, 'src', 'comments.js'),
|
|
|
|
output: {
|
|
|
|
path: path.resolve(__dirname, './js'),
|
|
|
|
publicPath: '/js/',
|
2019-09-03 08:55:06 +00:00
|
|
|
filename: 'comments.js',
|
|
|
|
jsonpFunction: 'webpackJsonpComments'
|
2019-02-15 12:50:12 +00:00
|
|
|
},
|
|
|
|
externals: {
|
|
|
|
jquery: 'jQuery'
|
|
|
|
}
|
2019-05-24 12:08:39 +00:00
|
|
|
}
|