Closed samag closed 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.
Thanks for the proposal, you can update to 2.0.0. Injoy and welcome more suggestion.
Thank you @bsdfzzzy works lika a charm 👍
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