-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error importing VTooltip during production webpack build with UglifyJS #239
Comments
this broke my app entirely... |
reverting back to |
Same issue here. |
I'm having yet this same issue with v2.0.3.
Reverted back to 2.0.0-rc.33 by now. |
Still happening to me on v2.0.3. |
Exact same error as @overallduka on v2.0.3 |
@overallduka set dependency in package.json to "2.0.0-rc.33", NOT "^2.0.0-rc.33" or "~2.0.0-rc.33". There is a "let" command on 2.0.3 version, which makes it ES6, hence the error. You can use anything up to 2.0.2. |
I recently ran into an error that seems like it's coming from this library. When running my production webpack build, I get the following error:
When I investigated this error and line, it led me to the code imported from
dist/v-tooltip.umd.js
In my Vue code, I'm simply importing the library with these lines:
It looks like these
const
s were added only a day ago in 19cd67b todist/v-tooltip.umd.js
Since it's common practice to ignore transpiling code imported from
node_modules
(because they should be transpiled already), I think theseconst
s need to be removed from thedist/v-tooltip.umd.js
file.Let me know if you have any questions or if I can provide any more information.
Thanks!
The text was updated successfully, but these errors were encountered: