1 2 3 4 5 6 7 8 9 10 11
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', }, }