Comments (3)
This emulates the behaviour of Sass. Sass will attempt to resolve the import path in the cwd, then in each of the load paths until it finds a match.
from sass-graph.
Sass looks for other Sass files in the current directory, and the Sass file directory under Rack, Rails, or Merb. Additional search directories may be specified using the :load_paths option, or the --load-path option on the command line. - Source
from sass-graph.
Ah alright, quite unexpected but mirroring sass would indeed be best. I have a branch ready to test this behaviour, which would not be a bad thing, right? I'll launch the PRQ if / when #17 gets merged :).
from sass-graph.
Related Issues (20)
- npm audit high vulnerability HOT 2
- [Feature Request] `--depth` option?
- yargs-parser vulnerabilities HOT 5
- Upgrade to yargs 16.2.0 HOT 1
- CLI usage instructions unclear
- package dependency scss-tokenizer flaged unsafe HOT 7
- SASS includes
- Feature: Importers and functions HOT 1
- sass-graph 2.2.0 and issue with node-sass: Unexpected token import HOT 5
- Error while running node-sass on babel6 HOT 2
- yarn still picking up unpublished 2.2.0 version HOT 1
- Error: Cannot find module 'scss-tokenizer' HOT 1
- ERROR in scss-tokenizer dependency
- includePaths to resolve import path HOT 1
- Consecutive URL imports in CSS cause an error HOT 4
- Imports aren't properly resolved HOT 2
- Wrong Graph object when using node-sass custom importer function supporting glob patterns in sass import statements HOT 3
- Missing license HOT 4
- Lodash vulnerability HOT 3
- Can we avoid calling fs.realpathSync(filepath) if filepath is already an absolute path? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sass-graph.