lesscss-java icon indicating copy to clipboard operation
lesscss-java copied to clipboard

Allow @import RegEx to find all Import Types

Open JanThiel opened this issue 11 years ago • 1 comments
trafficstars

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

JanThiel avatar Sep 09 '14 11:09 JanThiel

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

JanThiel avatar Sep 10 '14 11:09 JanThiel