mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Define browser build target as umd
This commit is contained in:
parent
6f7a3145fe
commit
4f48bc9b0c
@ -4,7 +4,8 @@ module.exports = {
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
filename: './dist/html2canvas.js',
|
||||
library: 'html2canvas'
|
||||
library: 'html2canvas',
|
||||
libraryTarget: 'umd'
|
||||
},
|
||||
module: {
|
||||
loaders: [{
|
||||
|
Loading…
Reference in New Issue
Block a user