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',
|
entry: './src/index.js',
|
||||||
output: {
|
output: {
|
||||||
filename: './dist/html2canvas.js',
|
filename: './dist/html2canvas.js',
|
||||||
library: 'html2canvas'
|
library: 'html2canvas',
|
||||||
|
libraryTarget: 'umd'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
loaders: [{
|
loaders: [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user