mizdra / happy-css-modules

Typed, definition jumpable CSS Modules. Moreover, easy!
MIT License
216 stars 5 forks source link

Ignore http/https imports #128

Closed mizdra closed 1 year ago

mizdra commented 1 year ago

It seems that http/https import cannot be resolved and may result in an error.

https://github.com/mizdra/happy-css-modules/blob/a14cc666690e7e94279c81552be3fb516b30801c/src/transformer/less-transformer.test.ts#L125

mizdra commented 1 year ago

I implemented http/https import support below.

However, the implementation is very complex. Additionally, code jumps to http/https files are not supported.

Perhaps a simpler approach should be used to solve the problem.