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 9ce2f9e commit d54f78fCopy full SHA for d54f78f
packages/app/src/sandbox/eval/presets/create-react-app/index.js
@@ -21,7 +21,7 @@ function isVersion2(configurations) {
21
configurations.package.parsed.dependencies['react-scripts'];
22
23
return (
24
- /^\w/.test(reactScriptsVersion) ||
+ /^[a-z]/.test(reactScriptsVersion) ||
25
semver.intersects(reactScriptsVersion, '^2.0.0')
26
);
27
}
0 commit comments