Created
August 2, 2015 16:45
-
-
Save tribou/95dc25296c2dec173178 to your computer and use it in GitHub Desktop.
This file contains 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
// Webpack config file | |
var BrowserSyncPlugin = require('browser-sync-webpack-plugin'); | |
module.exports = { | |
entry: './assets/js/components/Index.jsx', | |
output: { | |
path: __dirname + '/assets/js', | |
filename: 'bundle.js' | |
}, | |
module: { | |
loaders: [ | |
{ test: /\.jsx$/, | |
loader: 'jsx-loader' | |
} | |
] | |
}, | |
plugins: [ | |
new BrowserSyncPlugin({ | |
proxy: 'localhost:8000' | |
}) | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment