12 lines
245 B
JavaScript
12 lines
245 B
JavaScript
|
const path = require('path')
|
||
|
|
||
|
module.exports = {
|
||
|
entry: path.join(__dirname, 'src', 'main.js'),
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, './js'),
|
||
|
publicPath: '/js/',
|
||
|
filename: 'dashboard.js',
|
||
|
jsonpFunction: 'webpackJsonpDashboard'
|
||
|
}
|
||
|
}
|