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
{{ message }}
This repository was archived by the owner on Mar 24, 2025. It is now read-only.
Raimondo Mancino edited this page May 23, 2022
·
2 revisions
This plugin supports three kinds of resolvers:
Bundle
Inline
File
Bundle Resolver
This is the default resolver.
It will build SASS sources from the provided path and will use esbuild's css loader; a .css file will be generated which contains all the styles.
Inline resolver
importstylefrom'inline:./style.sass';
This will put the compiled output of SASS into style as a string.
Uses esbuild's text loader.
File resolver
importstylefrom'file:./style.sass';
This will build the sass source and use esbuild's file loader; an external .css file will be generated for every file: paths.
In this case, style is a string which represents the path to the css file.