node-sass-tilde-importer
node-sass-tilde-importer copied to clipboard
A node-sass custom importer which turns ~ into absolute paths to the nearest parent node_modules directory.
The latest version breaks importing breakpoint-sass because this lib has a "breakpoint" directory right next to the "_breakpoint.scss" file. This leads to > Error: File to import not found or...
As far as I can tell from the source-code, this package only finds the closest `node_modules` folder. This may not work when using `lerna` with `yarn workspaces`. Should be resolvable...
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.1 to 3.13.1. Changelog *Sourced from [js-yaml's changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md).* > ## [3.13.1] - 2019-04-05 > ### Security > - Fix possible code execution in (already unsafe) `.load()`, [#480](https://github-redirect.dependabot.com/nodeca/js-yaml/issues/480)....
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. Commits - [`754f0c2`](https://github.com/jonschlinkert/mixin-deep/commit/754f0c20e1bc13ea5a21a64fbc7d6ba5f7b359b9) 1.3.2 - [`90ee1fa`](https://github.com/jonschlinkert/mixin-deep/commit/90ee1fab375fccfd9b926df718243339b4976d50) ensure keys are valid when mixing in values - See full diff in [compare view](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Maintainer changes This...
I have a problem when I try to import [bootstrap](https://github.com/twbs/bootstrap-sass) mixins like this: `@import ~bootstrap-sass/assets/stylesheets/bootstrap/mixins`. Because `_mixins.scss` and `mixins/` directory are located on the same level: ``` +--mixins/ | +--_mixins.scss...
Hey there, it might be helpful for some of us to have a reference of the package in the `node_modules` folder example usage: ``` "css:build": "$(yarn bin)/node-sass --importer=$(yarn bin)/node-sass-tilde-importer ./src/scss/styles.scss...
fix error if you try import file with same name as folder example: - mixins (folder) - _border-radius.scss - _box-shadow.scss - _mixins.scss (file) real example: https://github.com/twbs/bootstrap-sass/tree/master/assets/stylesheets/bootstrap
I have problem with import `*.min.css` files. Also maybe this problem is actual for `*.css` too.
Using the example in the readme below, the `file` configuration key is not set. ```js var sass = require('node-sass'); var tildeImporter = require('node-sass-tilde-importer'); var result = sass.renderSync({ data: scss_content, importer:...