Skip to content

Empty file import bug #853

Closed
Closed

Description

@San4es

When you import .less empty file, lesscss.js stops parsing next files. For example, we have 3 files: imports.less, empty.less and styles.less. We link imports.less which imports emty.less and styles.less files, but we lost styles from styles.less if empty.less is empty =). See attachment.

Attachment: http://db.tt/0yKPSvcp

Activity

  1. rishabh-ink commented on Jul 9, 2012

    @rishabh-ink

    Hi, I too faced this issue. No errors are given, but the rules go missing. I tried with CrunchApp - same issue. Declared a dummy variable in the empty LESS file as a workaround.

  2. San4es commented on Jul 9, 2012

    @San4es
    Author

    yes, or an empty comment. But I think that's bug.

  3. matthew-dean commented on Jul 10, 2012

    @matthew-dean
    Member

    It's been a known (unfixed) bug for something close to a year. Look at Issue #224.

  4. matthew-dean commented on Jul 20, 2012

    @matthew-dean
    Member

    Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions