From 458336bef6369908885bc8277d2477188285ba28 Mon Sep 17 00:00:00 2001 From: Mikhail Osher Date: Sat, 28 Apr 2018 03:32:20 +0300 Subject: [PATCH] Update sass-loader to 7.0.1 (#4376) * Update sass-loader (#4363) * Added bootstrap scss test (#4376) --- .../fixtures/kitchensink/.template.dependencies.json | 1 + .../kitchensink/src/features/webpack/assets/scss-styles.scss | 2 ++ packages/react-scripts/package.json | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/react-scripts/fixtures/kitchensink/.template.dependencies.json b/packages/react-scripts/fixtures/kitchensink/.template.dependencies.json index a027e57d765..92bd84171f8 100644 --- a/packages/react-scripts/fixtures/kitchensink/.template.dependencies.json +++ b/packages/react-scripts/fixtures/kitchensink/.template.dependencies.json @@ -3,6 +3,7 @@ "@babel/plugin-transform-modules-commonjs": "7.0.0-beta.36", "@babel/polyfill": "7.0.0-beta.36", "@babel/register": "7.0.0-beta.36", + "bootstrap": "4.1.0", "chai": "3.5.0", "jsdom": "9.8.3", "mocha": "3.2.0", diff --git a/packages/react-scripts/fixtures/kitchensink/src/features/webpack/assets/scss-styles.scss b/packages/react-scripts/fixtures/kitchensink/src/features/webpack/assets/scss-styles.scss index b2f91e2e2f3..8aac77fbf6e 100644 --- a/packages/react-scripts/fixtures/kitchensink/src/features/webpack/assets/scss-styles.scss +++ b/packages/react-scripts/fixtures/kitchensink/src/features/webpack/assets/scss-styles.scss @@ -1,3 +1,5 @@ +@import "~bootstrap/scss/bootstrap"; + #feature-scss-inclusion { background: ghostwhite; color: crimson; diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 16e4e0e432f..e61fcade8bf 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -58,7 +58,7 @@ "raf": "3.4.0", "react-dev-utils": "^5.0.0", "resolve": "1.6.0", - "sass-loader": "7.0.0", + "sass-loader": "7.0.1", "style-loader": "0.19.1", "svgr": "1.8.1", "sw-precache-webpack-plugin": "0.11.4",