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