Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Conversation

JanThiel
Copy link

@JanThiel JanThiel commented Sep 9, 2014

Added missing Import directives to RegEx:

  • once
  • reference
  • multiple
  • inline

getImports should now also return

@import (reference) file.less
@import (multiple) file.less
@import (once) file.less
@import (inline) file.less

fixes #60

Added missing Import directives to RegEx:
- once
- reference
- multiple
- inline

getImports should now also return

@import (reference) file.less
@import (multiple) file.less
@import (once) file.less
@import (inline) file.less
Extended the check whether a file should be treated as LESS import with the new directives.
Fixed regression after stupid Copy & Paste...
@JanThiel
Copy link
Author

I missed to extend the importType check in .resolveImports(). This is fixed so the imports are recognized correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LessSource.getImports() only returns imports with type (css), (less) or none set
1 participant