server/apps/twofactor_backupcodes/webpack.js
Julius Härtl e6e73b636f
Use different jsonpFunction
This avoids issues when multiple entrypoints try to asynchronously load chunks on the same page

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-06 11:10:11 +02:00

11 lines
256 B
JavaScript

const path = require('path')
module.exports = {
entry: path.join(__dirname, 'src', 'settings.js'),
output: {
path: path.resolve(__dirname, 'js'),
publicPath: '/js',
filename: 'settings.js',
jsonpFunction: 'webpackJsonpTwofactorBackupcodes'
}
}