Skip to content

Missing file extensions causing infinite loop error on compile #1

@JoshuaSoileau

Description

@JoshuaSoileau

FYI.

In flexbox-grid.less there are no file extensions.

@import "variables";

// Mixins
@import "mixins/for";
@import "mixins/helpers";
@import "mixins/grid-framework";
@import "mixins/bem";

// Components
@import "components/col";
@import "components/grid";
@import "components/row";
@import "components/text";

.init(@breakpoints, @columns);

This was causing a compilation error for me, because it couldn't find the partials it was looking for. The partials need to have the file extension, .less appended to the end.

Changing it to this fixed it for me:

@import "variables.less";

// Mixins
@import "mixins/for.less";
@import "mixins/helpers.less";
@import "mixins/grid-framework.less";
@import "mixins/bem.less";

// Components
@import "components/col.less";
@import "components/grid.less";
@import "components/row.less";
@import "components/text.less";

.init(@breakpoints, @columns);

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