Skip to content

Commit 1b8ff34

Browse files
rbose85jaketrent
authored andcommitted
correctly resolve for babel-loader in example (#13)
1 parent 47effac commit 1b8ff34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
var path = require('path')
12
var HtmlWebpackPlugin = require('html-webpack-plugin')
23

34
module.exports = {
@@ -8,6 +9,7 @@ module.exports = {
89
path: __dirname + '/dist',
910
filename: 'main.js'
1011
},
12+
resolveLoader: { root: path.join(__dirname, 'node_modules') },
1113
module: {
1214
loaders: [
1315
{ test: /\.js$/, loader: 'babel-loader' }

0 commit comments

Comments
 (0)