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 79dfae1 commit d02decaCopy full SHA for d02deca
packages/app/src/sandbox/eval/presets/create-react-app/index.js
@@ -19,10 +19,10 @@ function isVersion2(configurations) {
19
const reactScriptsVersion =
20
configurations.package.parsed.dependencies['react-scripts'];
21
22
- return semver.intersects(reactScriptsVersion, '^2.0.0');
+ return semver.intersects(reactScriptsVersion || '2.0.0', '^2.0.0');
23
}
24
25
- return false;
+ return true;
26
27
28
export default function initialize() {
0 commit comments