esbuild-sass-plugin: Pure esbuild sass files with relative assets fails to load
I do have a relative import issue:
✘ [ERROR] Could not resolve "./NunitoSans-Bold.ttf"
sass-plugin-0:/....../LoadingAlert.scss:51:11:
The file import a relative sass file
I found other issues on the repo like @import "../../../fonts/fonts.scss"; and this file is importing the font.
I do see other similar issues on the repo but I don’t really get it… I try to find if this is due to dart-sass but no clue either… Currently this is working with webpack but I do think like https://github.com/glromeo/esbuild-sass-plugin/issues/19 this ise due to special resolver.
What can I do to solve my issue?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (11 by maintainers)
@Hideman85 v2.0.0 has been published… I close this issue now