Skip to content

Commit 2c7400a

Browse files
authored
Merge pull request #247 from ciscoheat/webpack-expose
Exposing arangojs in browser bundle.
2 parents bf4300f + 25ea1a3 commit 2c7400a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ module.exports = {
66
entry: resolve(__dirname, 'src/index.js'),
77
output: {
88
path: __dirname,
9-
filename: 'arangojs.min.js'
9+
filename: 'arangojs.min.js',
10+
library: 'arangojs'
1011
},
1112
module: {
1213
loaders: [

0 commit comments

Comments
 (0)