Do you want to request a feature or report a bug?
Bug
What is the current behavior?
With the following configuration, webpack throws the following error
module.exports = {
devtool: 'source-map',
output: {
library: {
root: "MyLibrary",
amd: "my-library",
commonjs: "my-common-library"
}
}
}
ValidationError: SourceMap DevTool Plugin Invalid Options
options.namespace should be string
The bug is nearly identical to #6634, just for Object syntax for 'library' instead of Array. I am only creating a new ticket because that one is already closed. I have a fix incoming for this.
The docs specify that this is acceptable.

If the current behavior is a bug, please provide the steps to reproduce.
The proceeding config is enough to produce the issue.
What is the expected behavior?
The proceeding config should build without issue, as was the case with versions prior to 4.
If this is a feature request, what is motivation or use case for changing the behavior?
N/A
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
4.2.0 (Previously working on 3.8.1)
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
With the following configuration, webpack throws the following error
The bug is nearly identical to #6634, just for Object syntax for 'library' instead of Array. I am only creating a new ticket because that one is already closed. I have a fix incoming for this.
The docs specify that this is acceptable.

If the current behavior is a bug, please provide the steps to reproduce.
The proceeding config is enough to produce the issue.
What is the expected behavior?
The proceeding config should build without issue, as was the case with versions prior to 4.
If this is a feature request, what is motivation or use case for changing the behavior?
N/A
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
4.2.0 (Previously working on 3.8.1)