adopted-ember-addons / adopted-ember-addons/ember-cli-sass

includePaths doesn't recognise node_modules in yarn workspace

Open
#209 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
273
Forks
90
PR merge metrics
No merged PRs in 30d

Description

I've got an app in yarn workspace. When I'm trying to use bootstrap-sass, when I specify
```
includePaths: [
'node_modules/bootstrap-sass/assets/stylesheets',
],
```
build fails with error `Directory not found: node_modules/bootstrap-sass`

If I use `../node_modules/bootstrap-sass/assets/stylesheets` instead, it works.

This is happening because in yarn workspace bootstrap-sass is installed on the top level of yarn workspace.

All other ember-cli stuff resolves `node_modules` in yarn workspace correctly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.