Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Commit

Permalink
Use path.resolve to assure consistent cross-platform support
Browse files Browse the repository at this point in the history
  • Loading branch information
coryhouse committed Sep 11, 2016
1 parent 8222631 commit 298848d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
entry: [
'eventsource-polyfill', // necessary for hot reloading with IE
'webpack-hot-middleware/client?reload=true', //note that it reloads the page if hot module reloading fails.
'./src/index'
path.resolve(__dirname, 'src/index')
],
target: 'web',
output: {
Expand All @@ -17,7 +17,7 @@ export default {
filename: 'bundle.js'
},
devServer: {
contentBase: './src'
contentBase: path.resolve(__dirname, 'src')
},
plugins: [
new webpack.HotModuleReplacementPlugin(),
Expand Down

0 comments on commit 298848d

Please sign in to comment.