Fix UMD exposing
This commit is contained in:
parent
d40908d8d0
commit
e195e519de
2
dist/rage-rpc.min.js
vendored
2
dist/rage-rpc.min.js
vendored
File diff suppressed because one or more lines are too long
@ -7,6 +7,7 @@ module.exports = {
|
|||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
filename: 'rage-rpc.min.js',
|
filename: 'rage-rpc.min.js',
|
||||||
library: 'rpc',
|
library: 'rpc',
|
||||||
libraryTarget: 'umd'
|
libraryTarget: 'umd',
|
||||||
|
globalObject: "typeof self !== 'undefined' ? self : this"
|
||||||
}
|
}
|
||||||
};
|
};
|
Reference in New Issue
Block a user