Created
March 30, 2016 17:26
-
-
Save inotives/33b4b7891e9842fe93fb00cae4a476ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
entry: [ | |
'./src/index.js' | |
], | |
output: { | |
path: __dirname, | |
publicPath: '/', | |
filename: 'bundle.js' | |
}, | |
module: { | |
loaders: [{ | |
exclude: /node_modules/, | |
loader: 'babel' | |
}] | |
}, | |
resolve: { | |
extensions: ['', '.js', '.jsx'] | |
}, | |
devServer: { | |
historyApiFallback: true, | |
contentBase: './' | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment