meteor-scss icon indicating copy to clipboard operation
meteor-scss copied to clipboard

ability to set include paths

Open jasoncorbett opened this issue 8 years ago • 1 comments

I'm trying to use ionic v2 (beta) and it needs the include paths part of the sass processing options set to include ionicons. I don't like the way they did it, but in order for it to work I need to add an include path. Can we set a config file in the root? scssIncludePaths.json

jasoncorbett avatar Apr 23 '16 22:04 jasoncorbett

Same thing here. I'm trying to use bootstrap-sass and bootstrap-material-design with npm:

npm install --save bootstrap-sass bootstrap-material-design

in main.scss:

// Bootstrap
$icon-font-path: "/fonts/";
@import "{}/node_modules/bootstrap-sass/assets/stylesheets/bootstrap";

// Bootstrap Material Design
@import "{}/node_modules/bootstrap-material-design/sass/bootstrap-material-design";
@import "{}/node_modules/bootstrap-material-design/sass/ripples";
=> Errors prevented startup:                  

   While processing files with fourseven:scss (for target web.browser):
   /client/main.scss: Scss compiler error: File to import:
   {}/node_modules/bootstrap-material-design/sass/bootstrap/variables not found in
   file: _import-bs-sass

_import-bs-sass requires a path from bootsrtap-sass relative to {}/node_modules/bootstrap-sass/assets/stylesheets, so it requires settings includePaths.

tensor5 avatar May 25 '16 09:05 tensor5