Fix build config to work with node.js
This commit is contained in:
parent
21cb5a02c8
commit
a5a547d40d
|
@ -9,7 +9,9 @@ module.exports = {
|
|||
filename: 'build.js',
|
||||
library: 'ChatMessages',
|
||||
libraryTarget: 'umd',
|
||||
libraryExport: 'default'
|
||||
libraryExport: 'default',
|
||||
umdNamedDefine: true,
|
||||
globalObject: 'this'
|
||||
},
|
||||
mode: isProd ? 'production' : 'development',
|
||||
devtool: isProd ? 'source-map' : 'eval-source-map',
|
||||
|
|
Loading…
Reference in New Issue