bsdfzzzy / vue2-hammer

Hammer.js wrapper for Vue 2.x to support some touching operation in the mobile.
MIT License
253 stars 48 forks source link

Provide a transpiled version #13

Closed samag closed 5 years ago

samag commented 6 years ago

It would be nice if you could provide a transpiled dist version and point your main to it, for your module won't be included by laravel-mix when in development environment.

Jeffrey Way, the author of laravel-mix, explicitly excludes all modules residing in node_modules to speed up development/watch builds.

Thanks in advance Sam

irmantas commented 5 years ago

I second this. I don't use laravel-mix, but symfony encore witch is using webpack 3. In order to use this component I had to load webpack-uglify-js. Or to tell babel to transpile this module (currently cant find how to do this) to ES5.

bsdfzzzy commented 5 years ago

Thanks for the proposal, you can update to 2.0.0. Injoy and welcome more suggestion.

irmantas commented 5 years ago

Thank you @bsdfzzzy works lika a charm 👍