You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
If you load a scss dependency with @use or @forward (probably @import as well), and that scss dependency has a dependency on a node_module, you get a [ERROR] Can't find stylesheet to import. on the imported node_module file.
When I import the files directly from node_modules that it's saying it can't find, then it works.
Expected Behaviour
If you have an import/use/forwards in a scss file that's being imported in a vue SFC, it should not throw an error and the scss should be made available in that scope.
The text was updated successfully, but these errors were encountered:
Summary
If you load a scss dependency with @use or @forward (probably @import as well), and that scss dependency has a dependency on a node_module, you get a
[ERROR] Can't find stylesheet to import.
on the imported node_module file.I'm guessing it's an issue with the
includePaths
orimporters
https://github.com/pipe01/esbuild-plugin-vue3/blob/master/src/index.ts#L268
When I import the files directly from node_modules that it's saying it can't find, then it works.
Expected Behaviour
If you have an import/use/forwards in a scss file that's being imported in a vue SFC, it should not throw an error and the scss should be made available in that scope.
The text was updated successfully, but these errors were encountered: