Last active
June 15, 2016 19:39
-
-
Save linuxandchill/9270c0a24ceb783596052cf381331332 to your computer and use it in GitHub Desktop.
Revisions
-
currencykid revised this gist
Jun 15, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,7 +19,7 @@ module.exports = { module: { loaders: [{ exclude: /node_modules/, loaders: ['react-hot', 'babel?presets[]=react,presets[]=es2015,presets[]=stage-1'], }] }, resolve: { -
currencykid created this gist
Jun 15, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ var webpack = require('webpack'); var path = require('path'); module.exports = { entry: [ 'webpack-dev-server/client?http://127.0.0.1:8080/', 'webpack/hot/only-dev-server', './src/index.js' ], output: { path: __dirname, publicPath: '/', filename: 'bundle.js' }, plugins: [ new webpack.HotModuleReplacementPlugin(), new webpack.NoErrorsPlugin() ], module: { loaders: [{ exclude: /node_modules/, loaders: ['react-hot', 'babel?presets[]=react,presets[]=es2015'], }] }, resolve: { extensions: ['', '.js', '.jsx'] }, devServer: { historyApiFallback: true, contentBase: './' } };