pespantelis / vue-typeahead

:mag: Typeahead component for Vue.js
http://pespantelis.github.io/vue-typeahead
MIT License
517 stars 97 forks source link

Added babelify browserify transform info to module. #24

Closed woodcoder closed 8 years ago

woodcoder commented 8 years ago

Using vueify and vue-typeahead in a project and found that the distribution JS was being included as-is (and then causing errors in the uglification).

Following the babelify advice here fixed it: https://github.com/babel/babelify#why-arent-files-in-node_modules-being-transformed

Do you know of a better way to do this?

pespantelis commented 8 years ago

Hi @woodcoder, thanks for the PR!

Sorry about that, I'm using the webpack and I missed that again (#14). Also, I prefer to compile the code instead of package.json options.

woodcoder commented 8 years ago

No worries!

Great component -- thanks!