KeJunMao / unplugin-preprocessor-directives

preprocessor directives for jsx,tsx,js,ts,html,css,vue and more
MIT License
63 stars 8 forks source link

When using scss, files imported through @ import will not be converted #3

Closed EndlessWord closed 7 months ago

EndlessWord commented 10 months ago

Such as: image However, this can work normally: image

KeJunMao commented 10 months ago

请问用的什么打包器呢?

EndlessWord commented 10 months ago

用的vite

KeJunMao commented 7 months ago

这是因为vite处理时,没有走到 transform 钩子,这不是这个插件的问题