Skip to content
New issue

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

SASS Tilda Include Sytax does not always work #2521

Closed
kensodemann opened this issue Jun 18, 2020 · 0 comments
Closed

SASS Tilda Include Sytax does not always work #2521

kensodemann opened this issue Jun 18, 2020 · 0 comments
Labels

Comments

@kensodemann
Copy link
Contributor

Stencil version:

I'm submitting a:

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
I am not sure if this is better here or in the node-sass repo, but here is the issue:

One of our modules is not recognized properly by the Stencil SASS loader:
@import '~@ag-grid-community/all-modules/dist/styles/ag-grid';

Got that error:
[ ERROR ] sass error: src/components/my-component/my-component.scss:4:11 Cannot find module '@ag-grid-community'

It works well with other node modules, so I guess there is something wrong with this specific package. Do you have some insights about it? Do we need to add something in the SASS configuration?

Expected behavior:
Import would work.

Related code:
https://github.com/darondel-yoobic/angular-stencil-playground/tree/bug-sass-tilde-importer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant