Closed brizandrew closed 6 years ago
Hey @brizandrew,
No I think you are correct, I migrated away from browserify to webpack last year and a recent version of vue-loader has changed the way the require
statements are handled, so I moved to import
statements to make this package more reliable.
But as import
requires a babel transform, I should have updated the package.json. I will make the change this morning and bump the package version. Thanks for your help.
v1.3.1 should fix this for you.
Thanks again 👍
First off, thanks for the great plugin!
I use a
browserify
build withvueify
andbabelify
and I tried to import and use your library and build my file withbrowserify
:When I do that, I get the following error:
From what I know about this error, import/export statements usually need to be transpiled in order to work with
browserify
properly. Using that knowledge, I found that if I addbabelify
to your package.json (as shown below), it does work, but this obviously doesn't seem like the solution. Is there a step I'm missing to build it?