webpack localhost/sockjs.js.map not found

Asked

Viewed 113 times

1

I have the following error regarding Socks.js.map, can anyone help me ?

Failed to load Resource: the server responded with a status of 404 (Not Found)

installed the latest version of webpack and webpack-dev-server and set it up like this :

const webpack = require('webpack');

module.exports = {
    entry : './index.js',
    output : {
        path: __dirname + '/public',
        filename : './bundle.js'
    },
    devServer: {
        port: 8080,
        contentBase: './public'
    },
    module: {
        loaders: [{
            test: /.js?$/,
            loader: 'babel-loader',
            exclude: /node-modules/,
            query: {
                presets : ['es2015']
            }
        }]
    }

}

My package.json is with a script:

"dev": "webpack-dev-server --progress --colors --inline --hot"

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.