Skip to content

Push webpack dev server options to config #196

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

Closed
bebraw opened this issue Aug 8, 2015 · 2 comments
Closed

Push webpack dev server options to config #196

bebraw opened this issue Aug 8, 2015 · 2 comments

Comments

@bebraw
Copy link
Member

bebraw commented Aug 8, 2015

devServer: {
  contentBase: "./build",
  noInfo: true, // --no-info option
  hot: true,
  inline: true
}

Thanks for the tip @whisher. 👍

@whisher
Copy link

whisher commented Aug 8, 2015

You are welcome.

@whisher
Copy link

whisher commented Aug 8, 2015

watch out
webpack/webpack-dev-server#123

plugins: [
        new HtmlwebpackPlugin({
            title: 'Kanban app'
        }),
        new webpack.HotModuleReplacementPlugin()
    ],
    devServer: {
        colors: true,
        contentBase: './build',
        historyApiFallback: true,
        hot: true,
        inline: true,
        progress: true
    }

@bebraw bebraw closed this as completed in de4742a Aug 9, 2015
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

2 participants