Skip to content

Can't generate bootstrap.scss file, says bundle must be a less filter #340

@bkosborne

Description

@bkosborne

I've used this bundle with LESS in the past but wanted to try SASS for a new project. I'm at the point where I want to use my own variables.scss file. I've copied the one from the bootstrap I have ("twbs/bootstrap-sass": "3.2.*") into my app's Resources folder.

I've updated the config like so:

braincrafted_bootstrap:
    less_filter: sass
    customize:
        variables_file: %kernel.root_dir%/Resources/bootstrap/variables.scss

When I run app/console braincrafted:bootstrap:generate to generate the bootstrap.scss file, I get an error:

Bundle must be configured with "less" or "lessphp" to generated bootstrap.less

Seems like the generator command is not yet compatible with a SASS filter?

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