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

Include path node_modules folder #44

Open
htodep opened this issue Feb 8, 2022 · 4 comments
Open

Include path node_modules folder #44

htodep opened this issue Feb 8, 2022 · 4 comments

Comments

@htodep
Copy link

htodep commented Feb 8, 2022

Hi

Is there a way i can include a node modules/@progress scss file in my base.scss?
When i try to reference it in my base.scss file and see the output i get an error:
SassCompilationException: Error: Can't find stylesheet to import. at wwwroot/css/base.scss:45:9 -> @import "/node_modules/@progress/kendo-theme-bootstrap/dist/all.scss";

@benjamin-stern
Copy link
Contributor

@htodep This might be an issue with it referencing it from a relative path from wwwroot so it could be looking for wwwroot/node_modules which wouldn't exist. Maybe copying the files on build/publish time might be an option?

@htodep
Copy link
Author

htodep commented Apr 25, 2022

Unfortunately not using WebOptimizer.Sass anymore. It didn't work for me. thanks for responding

@benjamin-stern
Copy link
Contributor

benjamin-stern commented Apr 25, 2022 via email

@htodep
Copy link
Author

htodep commented Apr 25, 2022

Webcompiler for VS 2022. It's updated and supports new scss/css functions.

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

No branches or pull requests

2 participants