Skip to content

Commit 72cdfee

Browse files
authored
Install Sass by default (for SCSS w. CSS Modules) (#4)
1 parent 74ff2a9 commit 72cdfee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/create-react-app/createReactApp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ function run(
407407
getInstallPackage(version, originalDirectory),
408408
getTemplateInstallPackage(template, originalDirectory),
409409
]).then(([packageToInstall, templateToInstall]) => {
410-
const allDependencies = ['react', 'react-dom', packageToInstall];
410+
const allDependencies = ['react', 'react-dom', 'sass', packageToInstall];
411411

412412
console.log('Installing packages. This might take a couple of minutes.');
413413

@@ -454,7 +454,7 @@ function run(
454454
console.log(
455455
`Installing ${chalk.cyan('react')}, ${chalk.cyan(
456456
'react-dom'
457-
)}, and ${chalk.cyan(packageInfo.name)}${
457+
)}, ${chalk.cyan('sass')} and ${chalk.cyan(packageInfo.name)}${
458458
supportsTemplates ? ` with ${chalk.cyan(templateInfo.name)}` : ''
459459
}...`
460460
);

0 commit comments

Comments
 (0)