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 7c26d9c commit 0c34bc2Copy full SHA for 0c34bc2
1 file changed
packages/babel-preset-react/src/normalize-options.js
@@ -73,9 +73,7 @@ export default function normalizeOptions(options = {}) {
73
} else {
74
throw new Error(
75
`@babel/preset-react: 'runtime' must be one of ['automatic', 'classic'] but we have '${runtime}'\n` +
76
- `- Did you mean '` +
77
- findSuggestion(runtime, validRuntime) +
78
- `'?`,
+ `- Did you mean '${findSuggestion(runtime, validRuntime)}'?`,
79
);
80
}
81
0 commit comments