-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
Issues after using gulp-- production #19
Comments
Does this happen only with the pie chart? |
I only use Pie Charts so I cannot tell...
Lars Peterke <lars.peterke@gmail.com> schrieb am Fr. 9. Dez. 2016 um 13:16:
…
Jakub ***@***.***> schrieb am Fr. 9. Dez. 2016 um 13:16:
> Does this happen only with the pie chart?
>
>
>
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#19 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAzHQ__WsikEUIq_eccL_KlClM4MwaSQks5rGUaCgaJpZM4LI3Cr>
> .
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
It seems to be a problem with the minification. Will look into it. |
Seems to be only gulp / elixir related. As I can't reproduce it with a normal webpack config. |
Hmm thats weird because the 2.2.0 works. Did something change with the chartjs dependency? Maybe it is a bug on their end? |
I just updated chart.js and vue.js in this release. I guess it has something to do with vue 2.1, or the gulp plugin for vue and how it handle module.exports Still looking for a solution. |
Thank you for putting so much work in it. I'll try to update my dependencies to see if something changes when building with the latest laravel elixir package. |
Seems to be related to gulp-uglify. First I thought that it might be related to vue 2.1 (it even may be). And I thought it could be the buble loader which is used by the elixir-vue2 package. I swapped out the buble loader with the normal babel-loader (as I experienced some problems with buble and missing pollyfills.) However now gulp and gulp watch is working. But gulp --production throws a gulp-uglify error. The error however indicates that some parts of the code are not transpiled properly with babel 🤔 |
hey @apocalyarts are you using the It seems, that the problem is either this package, or buble. Because it uses buble instead of babel. To break it down, I completely removed the Workaround steps1. Add
|
Yes I'm using laravel-elixir-vue-2. I'll post this issue to their repo and see if they can clarify things |
@apocalyarts Can you try to update to vue-chartjs 2.3.2 ? |
I Can confirm that this fixes the issue. I even went on an updated vue to lastest 2.1 as well as all laravel elixir stuff. still works like a charm :) Thank you so much :) |
Hi! I am currently on vue 2.0.1 and vue-chartjs 2.2.0.
After ugrading to vue-chartjs 2.2.1.....
Expected Behavior
Everything should work, lol.
Actual Behavior
When using "gulp":
When using "gulp --production":
Environment
The text was updated successfully, but these errors were encountered: