pingy-cli icon indicating copy to clipboard operation
pingy-cli copied to clipboard

Not transpile when more than one dot in name

Open jackhftang opened this issue 7 years ago • 3 comments

For example, filename: src/foo.bar.scss http request: http://localhost:57969/src/foot.bar.css It does not transpile.

I am on Windows. pingy version 0.12.1

jackhftang avatar Dec 21 '17 04:12 jackhftang

I'm not sure if this will be fixed. Currently Pingy splits on the first dot to get the extension. This is because Pingy needs handle extensions like *.babel.js. Is there any particular reason why you want to have x.x.scss style filenames?

Let me have a think about it and I'll get back to you.

davej avatar Dec 21 '17 18:12 davej

I see. To me, it is not a must to be in form x.y.scss and my current solution is simply rename it. It was not obvious to me that x.y.scss is an invalid name and it costed me several minutes to find out the catch.

jackhftang avatar Dec 22 '17 06:12 jackhftang

Shouldn't be too difficult to fix and support both cases. So, I'll leave this open and hopefully get around to it after Christmas.

davej avatar Dec 22 '17 13:12 davej