You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varwebpack=require('webpack');varpath=require('path');module.exports={devtool: 'eval-source-map',entry: {truckFilter: ['webpack-hot-middleware/client?reload=true','./js/index.js']},output: {path: path.join(__dirname,'js/build'),publicPath: "js/build",filename: "bundle.js"},// Require the webpack and react-hot-loader pluginsplugins: [newwebpack.HotModuleReplacementPlugin(),newwebpack.NoErrorsPlugin(),newwebpack.DefinePlugin({__DEV__: true}),],resolve: {extensions: ['','.js','.jsx']},module: {// Load the react-hot-loaderloaders: [{test: /\.jsx?$/,loaders: ['babel'],include: path.join(__dirname,'js')}]},};
Everything loads fine except localhost:3000/__webpack_hmr which 404s. Is the proxy setting sending that request to my proxy (php) server, or is it sending it to browser sync?
The text was updated successfully, but these errors were encountered:
The example for webpack.react-transform-webpack-hmr works perfectly. However I'm getting 404 errors when I try to use this with the
proxy
option.server.js
webpack config:
Everything loads fine except
localhost:3000/__webpack_hmr
which 404s. Is the proxy setting sending that request to my proxy (php) server, or is it sending it to browser sync?The text was updated successfully, but these errors were encountered: