WebOptimizer.Sass icon indicating copy to clipboard operation
WebOptimizer.Sass copied to clipboard

Include path node_modules folder

Open htodep opened this issue 3 years ago • 4 comments

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";

htodep avatar Feb 08 '22 10:02 htodep

@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?

benjamin-stern avatar Apr 24 '22 11:04 benjamin-stern

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

htodep avatar Apr 25 '22 06:04 htodep

What are you using instead?


From: htodep @.> Sent: Monday, April 25, 2022 9:06:06 AM To: ligershark/WebOptimizer.Sass @.> Cc: Benjamin Stern @.>; Comment @.> Subject: Re: [ligershark/WebOptimizer.Sass] Include path node_modules folder (Issue #44)

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

— Reply to this email directly, view it on GitHubhttps://github.com/ligershark/WebOptimizer.Sass/issues/44#issuecomment-1108112647, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJVIJ6KE5M46QUUTLTTNV3VGYY45ANCNFSM5N2CCZ5A. You are receiving this because you commented.Message ID: @.***>

benjamin-stern avatar Apr 25 '22 16:04 benjamin-stern

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

htodep avatar Apr 25 '22 16:04 htodep