Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
himynameisdave opened this issue Aug 29, 2019 · 0 comments
Open

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

himynameisdave opened this issue Aug 29, 2019 · 0 comments

Comments

@himynameisdave
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant