mirror of
https://github.com/flarum/core.git
synced 2025-06-07 23:29:13 +02: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: {
|
output: {
|
||||||
path: path.resolve(process.cwd(), 'dist'),
|
path: path.resolve(process.cwd(), 'dist'),
|
||||||
library: 'module.exports',
|
library: 'module.exports',
|
||||||
libraryTarget: 'assign'
|
libraryTarget: 'assign',
|
||||||
|
devtoolNamespace: require(path.resolve(process.cwd(), 'package.json')).name
|
||||||
},
|
},
|
||||||
|
|
||||||
externals: [
|
externals: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user