Skip to content

Commit f403c77

Browse files
committed
hotfix - expose Kuzzle to browsers global scope
1 parent 2608754 commit f403c77

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-sdk",
3-
"version": "2.3.2",
3+
"version": "2.3.3",
44
"description": "Official Javascript SDK for Kuzzle",
55
"author": "The Kuzzle Team <[email protected]>",
66
"repository": {

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ module.exports = {
66
output: {
77
path: './dist',
88
filename: 'kuzzle.js',
9+
library: 'Kuzzle',
910
libraryTarget: 'umd'
1011
},
1112
watch: false,
1213
debug: false,
1314
devtool: 'source-map',
1415
node: {
1516
console: false,
16-
global: false,
17+
global: true,
1718
process: false,
1819
Buffer: false,
1920
__filename: false,

0 commit comments

Comments
 (0)