appedemic/livescript-loader

Cannot handle multi-language files

Opened this issue · 0 comments

This loader works great when parsing a file that only contains LiveScript, but when parsing LiveScript in a script element, such as as when used with vue-loader, it's breaking because the entire HTML file is being parsed as LiveScript. It's also worth noting that coffee-loader, which this is based on, does not suffer from the issue.

In the link above, I provide a minimal example to reproduce the issue.