Skip to content

CompassCompiler error due to invalid Compass option #77

Description

@kaitohara

I am seeing the following error when building with ember-cli-compass-compiler after upgrading ember-cli recently.
[CompassCompiler]Error: invalid option: --tree-type=styles

It looks like this is because Ember Cli 's Broccoli started to add a new option value treeType: 'styles' when packaging styles. (I believe in v3.26.0). ember-cli-compass-compiler passes this option into broccoli-compass-compiler, which generates the compass command.

Since compass does not need the new option treeType that is provided by ember-cli, would it be possible to omit/remove the field from compassOptions before it gets passed into compileCompass()?

To verify this is related to the error, I tried delete compassOptions.treeType before compileCompass(inputTrees, compassOptions) is called in index.js locally, and the app was built successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions