Skip to content

[Question] Does this work with webpack-dev-server? #5

@himynameisdave

Description

@himynameisdave

Hi! Does this package work with webpack-dev-server? And if so, is there any kind of special configuration which I would need to make it work?

It doesn't seem to be working for me. Here's an overview of the relevant parts of my webpack.config.js:

const WebpackMessages = require('webpack-messages');

const config = {
  mode: 'development',
  devServer: {
    hot: true,
    port: 3001,
    historyApiFallback: true,
    host: '0.0.0.0',
    disableHostCheck: true,
    contentBase: path.resolve(__dirname, '../dist')
  },
  plugins: [
    new WebpackMessages({
      name: 'myapp'
    }),
  ]
};

Seems like it should be working, but I just get the usual (ugly) webpack output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions