mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Add devtoolNamespace to fix sourcemap conflicts
This commit is contained in:
parent
50dc913c58
commit
bb780f9b09
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue
Block a user