We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fdc0e commit 494e689Copy full SHA for 494e689
src/index.js
@@ -37,10 +37,7 @@ class ErrorOverlayPlugin {
37
38
function adjustEntry(entry, enableDevServer, sockOptions) {
39
if (typeof entry === 'string') {
40
- throw new Error(
41
- `We currently do not inject our entry code into single-file anonymous entries.
42
-Please use a multi-main (array) or object-form \`entry\` setting for now.`,
43
- )
+ entry = [entry]; // for anonymous single entry points
44
}
45
46
if (Array.isArray(entry)) {
0 commit comments