You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that when using webpack, you are able to return a Promise instead of an object as a valid parameter. I would assume that webpack-dev-server would be the same case, but it looks like it was an oversight. The code in question is as follows
webpack-dev-server/bin/webpack-dev-server.js
var wpOpt = require("webpack/bin/convert-argv")(optimist, argv, { outputFilename: "/bundle.js" });
var firstWpOpt = Array.isArray(wpOpt) ? wpOpt[0] : wpOpt;
var options = wpOpt.devServer || firstWpOpt.devServer || {};
...
Noticed that when using webpack, you are able to return a Promise instead of an object as a valid parameter. I would assume that webpack-dev-server would be the same case, but it looks like it was an oversight. The code in question is as follows
webpack-dev-server/bin/webpack-dev-server.js
webpack/bin/webpack.js
Tried looking through the issues log for something like this, but couldn't find it, and it doesn't look like its fixed in the latest version
The text was updated successfully, but these errors were encountered: