mirror of
https://github.com/flarum/core.git
synced 2025-07-16 14:26:25 +02:00
Add devtoolNamespace to fix sourcemap conflicts
This commit is contained in:
@ -45,7 +45,8 @@ module.exports = function(options = {}) {
|
||||
output: {
|
||||
path: path.resolve(process.cwd(), 'dist'),
|
||||
library: 'module.exports',
|
||||
libraryTarget: 'assign'
|
||||
libraryTarget: 'assign',
|
||||
devtoolNamespace: require(path.resolve(process.cwd(), 'package.json')).name
|
||||
},
|
||||
|
||||
externals: [
|
||||
|
Reference in New Issue
Block a user