We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae26dd2 commit c529a94Copy full SHA for c529a94
package.json
@@ -59,6 +59,7 @@
59
"chai": "3.5.0",
60
"core-js": "2.4.0",
61
"coveralls": "2.11.9",
62
+ "expose-loader": "0.7.1",
63
"istanbul": "0.4.3",
64
"json-loader": "0.5.4",
65
"mocha": "2.5.3",
@@ -82,4 +83,4 @@
82
83
"type": "git",
84
"url": "https://github.com/arangodb/arangojs.git"
85
}
-}
86
+}
webpack.config.js
@@ -10,6 +10,7 @@ module.exports = {
10
},
11
module: {
12
loaders: [
13
+ {test: /index\.js$/, loader: 'expose?arangojs'},
14
{test: /\.js$/, loader: 'babel-loader'},
15
{test: /\.json$/, loader: 'json-loader'}
16
]
0 commit comments