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.
I am seeing the following error when building with ember-cli-compass-compiler after upgrading ember-cli recently.
[CompassCompiler]Error: invalid option: --tree-type=stylesIt 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-compilerpasses this option intobroccoli-compass-compiler, which generates the compass command.Since compass does not need the new option
treeTypethat is provided by ember-cli, would it be possible to omit/remove the field fromcompassOptionsbefore it gets passed into compileCompass()?To verify this is related to the error, I tried
delete compassOptions.treeTypebeforecompileCompass(inputTrees, compassOptions)is called in index.js locally, and the app was built successfully.