From 3218b647c3d1bbbae5664fcf188ab187ca4f889d Mon Sep 17 00:00:00 2001 From: xidedix Date: Tue, 24 Apr 2018 16:24:13 +0200 Subject: [PATCH] chore: fix css build scripts --- package.json | 4 ++-- src/scss/style.scss | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index b408290..7fd7c5f 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ "react-scripts": "^1.1.4" }, "scripts": { - "build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/", - "watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive", + "build-css": "node-sass-chokidar --include-path ./node_modules ./src/scss -o ./src/scss", + "watch-css": "npm run build-css && node-sass-chokidar --include-path ./node_modules ./src/scss -o ./src/scss --watch --recursive", "start-js": "react-scripts start", "start": "npm-run-all -p watch-css start-js", "build-js": "react-scripts build", diff --git a/src/scss/style.scss b/src/scss/style.scss index 458464a..fbe62fa 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -2,9 +2,9 @@ @import "variables"; // Import styles -@import "../../node_modules/@coreui/coreui/scss/coreui"; +@import "@coreui/coreui/scss/coreui.scss"; // Temp fix for reactstrap -@import 'node_modules/@coreui/coreui/scss/_dropdown-menu-right.scss'; +@import '@coreui/coreui/scss/_dropdown-menu-right.scss'; // If you want to add something do it here @import "custom";