Skip to content

Commit 0c34bc2

Browse files
Revert "workaround a rollup issue"
This reverts commit 2aedf64.
1 parent 7c26d9c commit 0c34bc2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/babel-preset-react/src/normalize-options.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ export default function normalizeOptions(options = {}) {
7373
} else {
7474
throw new Error(
7575
`@babel/preset-react: 'runtime' must be one of ['automatic', 'classic'] but we have '${runtime}'\n` +
76-
`- Did you mean '` +
77-
findSuggestion(runtime, validRuntime) +
78-
`'?`,
76+
`- Did you mean '${findSuggestion(runtime, validRuntime)}'?`,
7977
);
8078
}
8179

0 commit comments

Comments
 (0)