Archived
Fix UMD exposing
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-1
@@ -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