-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for type: 'local-css'
#173
Conversation
type: ‘local-css’
type: 'local-css'
Gently nudging this one! Thanks and no worries, just wanted to make contact 🙇🏼♂️ |
sorry... just got back from my trip I'll have a look tonight
…On Wed, 6 Mar 2024, 15:51 kohlmannj, ***@***.***> wrote:
Gently nudging this one! Thanks and no worries, just wanted to make
contact 🙇🏼♂️
—
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABHJVJFNK2AKHYEVKM2L23YW43R3AVCNFSM6AAAAABEAWPP52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGE4DOOBWGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Ah, no worries, @glromeo, I didn't know! Please take your time, and thanks again ✨ |
This is the most professional contribution I've seen so far... A very big thank you for it! |
@glromeo My turn for a delayed reply 😅 🤦🏼♂️ You are very welcome! Glad to contribute 🙇🏼♂️ ✨ |
Oh, at your leisure, a new release with this feature would be much appreciated 😊 Once again, no rush! Thanks @glromeo! |
Yup, I wanted to see if I can fix some of these outstanding issues together
with it but Indeed I rather not keep it waiting
…On Tue, 12 Mar 2024, 17:58 kohlmannj, ***@***.***> wrote:
Oh, at your leisure, a new release with this feature would be much
appreciated 😊 Once again, no rush! Thanks @glromeo
<https://github.com/glromeo>!
—
Reply to this email directly, view it on GitHub
<#173 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABHJVN7AN4EY3FKMA3V243YX465DAVCNFSM6AAAAABEAWPP52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJSGI2DMMRXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ah, no worries. Really appreciate the release! |
Greetings!
I've been experimenting with esbuild and esbuild-plugin-sass, and I wanted a way to compile "Sass module" files (
*.module.scss
) then leverage esbuild's built-in CSS processing features, as opposed to using PostCSS andpostcss-modules
.I think I've got just that here in this PR:
The plugin's
type
option now accepts the string'local-css'
. This is very similar totype: 'css'
in that, when usingtype: 'local-css'
, the plugin simply compiles the Sass file and then passes the rest off to esbuild with the appropriate loader specified (i.e.type: 'local-css'
→ use the local-css loader).I've also updated the README, added a new fixture project
test/fixture/local-css/
and a new e2e unit test.Cheers,
Joe