-
Notifications
You must be signed in to change notification settings - Fork 29
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
devServer colors property not allowed when validating webpack.config.js #123
Comments
I think you're right. Do you see a difference in the webpack output when you include colors? Can you find a link to documentation or webpack code that utilizes the |
Hi Thanks for the quick response. Yes when I do not validate and have 'colors' I see warnings in yellow . Thanks for your time |
Looks like we need to add it to this and add a test here. Would you be willing to makeapullrequest.com? |
Sure , that would be great. I'll do it tomorrow. |
I'll go through your eggheadio course first! |
Hello Kent, Just to let you know , had some issues with npm install for First ,I kept getting an error installing node-pre-gyp. Error: Googling suggested either removing compression-webpack-plugin or installing Next I ran npm run validate But I'm getting an error from lodash 'cannot find module Two other points , perhaps I should do a PR to update the contribution.md Sorry I cannot go any further today with this, but hope to get the PR done Regards and thanks for such a useful tool. On Mon, Aug 1, 2016 at 4:59 PM, Kent C. Dodds [email protected]
|
Hey @donnrri, Also, what version of |
Hi Kent, OK will re-install. Im on npm V2.14.2 - will upgrade and see if that On Tue, Aug 2, 2016 at 3:46 PM, Kent C. Dodds [email protected]
|
|
In case anyone else is seeing this issue, I've noticed that the "colors" attribute should be in the "stats" object. devServer: {
stats: {
colors: true
},
contentBase: path.join({PATHNAME})
} This is slightly confusing, because you can use the --colors argument when running the CLI, and the documentation implies that these attributes can be included in the devServer object directly. |
Hi
Including devServer{
contentBase:"./public",
historyApiFallback: true,
inline: true
colors: true
}
When the colors property is included, I get the error 'colors is not allowed' . Is this correct ? I thought the colors property was valid. Thanks
The text was updated successfully, but these errors were encountered: