lostintangent / codeswing

VS Code extension for building web applications ("swings") using a interactive and editor-integrated coding environment
https://aka.ms/codeswing
MIT License
977 stars 46 forks source link

Importing CSS from parent folders & CSS modules #54

Open Vaelek opened 2 years ago

Vaelek commented 2 years ago

I was trying to use this for prototyping new views in my app and it seems I cannot import css that doesn't live in the swing folder. I can make it work by copying everything, but that seems redundant. My project is using NextJS and the CodeSwing docs seemed to imply that css modules were supported, but I have not been able to get those to function either. It says it does not provide a default export. And the Stylesheet option in Add Library just opens the same list as the Script option.