Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Sass for theming Bootstrap #13

Closed
4 tasks done
guylepage3 opened this issue Oct 1, 2018 · 3 comments
Closed
4 tasks done

Setup Sass for theming Bootstrap #13

guylepage3 opened this issue Oct 1, 2018 · 3 comments
Assignees
Labels
coding General coding item(s) and issue(s) enhancement Product and project enhancement item(s)

Comments

@guylepage3
Copy link
Contributor

guylepage3 commented Oct 1, 2018

Description
Setup Sass and a Sass compiler for theming Bootstrap.

Sass Build Tasks

@guylepage3 guylepage3 added enhancement Product and project enhancement item(s) coding General coding item(s) and issue(s) labels Oct 1, 2018
@guylepage3 guylepage3 self-assigned this Oct 1, 2018
@guylepage3
Copy link
Contributor Author

@guylepage3
Copy link
Contributor Author

DID NOT go with this process. Adding it for reference...

Added minification of CSS by adding the --output-style compressed command to the package.json build scripts.

"build-css": "node-sass-chokidar src/ -o src/ --output-style compressed",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --output-style compressed --watch --recursive",

Reference:

@guylepage3
Copy link
Contributor Author

Merge build compiler and scripts into one bash command running npm install --save npm-run-all package.

Reference:
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc

guylepage3 added a commit that referenced this issue Oct 1, 2018
Signed-off-by: Guy Lepage <guylepage3@gmail.com>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coding General coding item(s) and issue(s) enhancement Product and project enhancement item(s)
Projects
None yet
Development

No branches or pull requests

1 participant