livescript-loader icon indicating copy to clipboard operation
livescript-loader copied to clipboard

Cannot handle multi-language files

Open chrisvfritz opened this issue 9 years ago • 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.

chrisvfritz avatar Jan 22 '16 18:01 chrisvfritz