cfware / babel-plugin-template-html-minifier

Minify HTML in tagged template strings using html-minifier
MIT License
63 stars 4 forks source link

fix: don't crash when a class has javascript mixins #33

Closed LarsDenBakker closed 5 years ago

LarsDenBakker commented 5 years ago

Fixes https://github.com/cfware/babel-plugin-template-html-minifier/issues/32

Now we're just ignoring classes with mixins, if you're using star import. It can probably be improved by correctly parsing the mixins as well but at least now it doesn't crash the plugin when there is a mixin involved.

coreyfarrell commented 5 years ago

Thanks, published to 3.0.2.