koluch / esbuild-plugin-sass

Plugin for esbuild to support SASS styles
45 stars 15 forks source link

How do I workaround bad 3rd party imports? #61

Open IPWright83 opened 2 years ago

IPWright83 commented 2 years ago

I'm trying to switch over to esbuild, and I'm using this plugin for my sass imports. I've not got things working yet, and started hitting errors like this:

✘ [ERROR] [plugin sass-plugin] Can't find stylesheet to import. ╷ 9 │ @import "~@blueprintjs/colors/lib/scss/colors";

This is a 3rd party package - so I'm wondering how I should go about fixing this? I'm considering patching the file during install, but I've quite a few to do :/