-
Notifications
You must be signed in to change notification settings - Fork 155
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
Cannot compile. Module parse failed: Unexpected token (470:30) #19
Comments
Oh, good catch, I'll fix it ASAP |
Nice!!! Thanks. I'll be waiting for the fix. |
Any news on this ? I get the same error, sadly. |
For information, I tried replacing the import using
EDIT: This is due to the fact that my vue-loader wasn't configured to babelize stuff in node_modules for performance reasons, I worked around this another way, until the dist gets fixed. |
Yeah, sorry, didn't have the time. I should be able to fix it within 24h from now. I'll reply here when it's done |
Should be fixed and released as v0.2.3! I've set TS compilation options to ES6. If someone thinks that's unreasonable, please voice your concerns. But if your requirements are more specific, you should be able to import the And sorry for the delay everyone, real life got in the way, as always 😄 |
Thank you very much ! |
Failed to compile.
./node_modules/vue3-datepicker/dist/vue3-datepicker.esm.js 470:30
Module parse failed: Unexpected token (470:30)
You may need an appropriate loader to handle this file type.
| });
| const isEnabled = (target, lower, upper, disabledDates) => {
| return false;
| if (!lower && !upper)
The text was updated successfully, but these errors were encountered: