-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 from UglifyJs SyntaxError: Unexpected token: keyword (default) #216
Comments
Likely because of this: https://github.com/vuejs-templates/webpack/blob/dist/template/build/webpack.base.conf.js#L53 which makes You can try adding |
Thank you @yyx990803 for your piece of advice. |
@kkomelin this is because most npm modules export pre-compiled JS, but |
@yyx990803 This is the key. Then we should simply pre-compile vuejs-datepicker code and solve the problem. Hopefully. it is possible. I will discuss it with the maintainer of vuejs-datepicker. |
@yyx990803 Thanks for your advice. I think we can close the issue. |
We are trying to investigate why we are receiving the following error after importing vuejs-datepicker component into the clean vuejs webpack template:
Our test sequence:
Then add the line to the js section of App.vue:
After that add the following into the
<template>
section:And you should notice the error in the console:
@charliekassel explained here the desirable behavior:
Could you please advise us where to look for the bug?
Thank you so much,
Konstantin
The text was updated successfully, but these errors were encountered: