mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-07 21:37:04 +09:00
add webpack umd library options
This commit is contained in:
parent
d5e424553a
commit
91cf23634f
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@ module.exports = {
|
|||
mode: 'none',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'build/web/'),
|
||||
filename: 'commands.pb.js'
|
||||
filename: 'commands.js',
|
||||
library: 'commands',
|
||||
libraryTarget: 'umd',
|
||||
globalObject: 'this',
|
||||
},
|
||||
optimization: {
|
||||
minimize: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue