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

Add weback-dev-server HOST var in .env #122

Closed
willybrauner opened this issue Sep 23, 2020 · 0 comments · Fixed by #124
Closed

Add weback-dev-server HOST var in .env #122

willybrauner opened this issue Sep 23, 2020 · 0 comments · Fixed by #124
Assignees
Labels
config Compiler, setup

Comments

@willybrauner
Copy link
Member

webpack.development.js:

  devServer: {
    contentBase: paths.dist,
    port: 3000,
    hot: true,
    inline: true,
    compress: true,
    historyApiFallback: true,
    host: process.env.HOST  // <-------------------- add
}

.env:

HOST=...
@willybrauner willybrauner self-assigned this Sep 23, 2020
@willybrauner willybrauner added the config Compiler, setup label Sep 23, 2020
@willybrauner willybrauner linked a pull request Oct 8, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Compiler, setup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant