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 c529a94 commit 25ea1a3Copy full SHA for 25ea1a3
package.json
@@ -59,7 +59,6 @@
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",
@@ -83,4 +82,4 @@
83
82
"type": "git",
84
"url": "https://github.com/arangodb/arangojs.git"
85
}
86
-}
+}
webpack.config.js
@@ -6,11 +6,11 @@ module.exports = {
6
entry: resolve(__dirname, 'src/index.js'),
7
output: {
8
path: __dirname,
9
- filename: 'arangojs.min.js'
+ filename: 'arangojs.min.js',
10
+ library: 'arangojs'
11
},
12
module: {
13
loaders: [
- {test: /index\.js$/, loader: 'expose?arangojs'},
14
{test: /\.js$/, loader: 'babel-loader'},
15
{test: /\.json$/, loader: 'json-loader'}
16
]
0 commit comments