summaryrefslogtreecommitdiffstats
path: root/apps/comments/webpack.js
blob: 8244389aeacd78a1550aa2806b8650ba7aeff3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const path = require('path')

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