vuejs / vue-component-compiler

Compile a single file Vue component into a CommonJS module.
MIT License
342 stars 52 forks source link

Broken as of 1.0.0-beta.1: minification dependency crashes on custom attributes #19

Closed michaelowens closed 8 years ago

michaelowens commented 8 years ago

Minification crashes once you start using the new binding style (@click, :src, etc.):

        throw 'Parse Error: ' + html;
                              ^
Parse Error: <div class="overlay" @click="close"></div>

This would probably need to configured with the customAttrAssign option, according to their Options Quick Reference