Open
Description
Current Behavior
If using injectGlobalPaths parameter
plugins: [
sass({
injectGlobalPaths: ['src/globals/variables.scss'],
}),
],
the build fails with
[ ERROR ] sass error: ...tencil-example/libs/web-components/src/components/my-component/my-component.scss:1:9
Can't find stylesheet to import.
If I leave out the parameter, the builds succeeds.I suspect the path resolution not working correctly on my nx workspace, because it works on a simple stencil project.
Expected Behavior
using injectGlobalPaths parameter should work without causing issues
Context (Environment)
- nx 11 workspace
- @stencil/core 2.3.0
- @stencil/sass: 1.4.1
- Windows
Steps to Reproduce
- clone https://github.com/kerosin/nx-stencil-example
- call
nx build web-components