Skip to content

Commit e5b0e4f

Browse files
committed
Updated webpack.config.js to support the latest versions (2.7+) of WebPack.
1 parent 9106d5d commit e5b0e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
humaninput: "./src/humaninput.js",
1010
},
1111
output: {
12-
path: './build',
12+
path: __dirname + '/build',
1313
filename: PROD ? '[name].min.js' : '[name].js',
1414
library: ["HumanInput", "[name]"],
1515
libraryTarget: "umd"
@@ -19,7 +19,7 @@ module.exports = {
1919
test: /\.(js)$/,
2020
exclude: /node_modules/,
2121
loaders: [
22-
'expose?HumanInput',
22+
'expose-loader?HumanInput',
2323
'babel-loader',
2424
]
2525
}]

0 commit comments

Comments
 (0)