We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Directory not found: node_modules/bootstrap-sass
If I use ../node_modules/bootstrap-sass/assets/stylesheets instead, it works.
../node_modules/bootstrap-sass/assets/stylesheets
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.
node_modules
The text was updated successfully, but these errors were encountered:
You can use something like resolve-pkg to resolve paths relative to a package directory
resolve-pkg
const resolvePkg = require('resolve-pkg') ... includePaths: [ resolvePkg('bootstrap-sass/assets/stylesheets'), ],
Sorry, something went wrong.
No branches or pull requests
I've got an app in yarn workspace. When I'm trying to use bootstrap-sass, when I specify
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.The text was updated successfully, but these errors were encountered: